A series of problems (1)

Last post 08-30-2007, 1:15 PM by fredd. 5 replies.
Sort Posts: Previous Next
  •  07-18-2007, 12:04 AM 31647

    A series of problems (1)

    I may be wrong but I think there are a few things that do not work the way they should.
    The first:
     
    I type a line of text or a paragraph. I could set a phrase inside the paragraph to a different font size.  I later realize that it does not look well and I try to change the whole paragraph to a new size. I select the paragraph, change the font size to size 3 (for example) and the editor only changes the outside. The inner phrase does not inherit the changes, and it should. Am I wrong?
  •  07-18-2007, 12:55 PM 31665 in reply to 31647

    Re: A series of problems (1)

    liborio,
     
    Try set the following property to true then try again.
     

    Editor.UseFontTags Property

    Font tags are now deprecated, meaning that they aren't used any more and will cause validation errors. Many legacy pages still contain style information in font tags. By default Cute Editor converts font tags to span tags. <font face="times" size="4" color="#ffffff">your text</font> would be replaced with <span style="font-family: times, serif; font-size: 110%; color:#ffffff">your text</span> If you still want to use font tags, you can set this property to true.

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-29-2007, 8:14 AM 33020 in reply to 31665

    Re: A series of problems (1)

    I am sorry I took so long.
    The truth is I am not using deprecated font tags. Please try this:
     
    <div style="font-size: 12pt">This is a three sentences paragraph. <span style="font-size: 18pt">The second sentence will be changed to a bigger font.</span> The third will remain using default size.</div>
     
    Select the outer div and change the font size. The sentence in the middle will not change.
  •  08-29-2007, 9:20 AM 33027 in reply to 33020

    Re: A series of problems (1)

  •  08-29-2007, 5:13 PM 33066 in reply to 33027

    Re: A series of problems (1)

    I have tried it a thousand times. It keeps doing the same thing.
     
     
  •  08-30-2007, 1:15 PM 33097 in reply to 33066

    Re: A series of problems (1)

    Hi.
     
    I tried using these sentences with our own CE online editor version:
     
     Type a line of text. Set this second sentence large. Leave the outside...

    Type a line of text. Set this second sentence large. Leave the outside...
     
    Originally, the first line was identical to the second one. I then selected all the sentences in the first one and changed the size and font... It came out correctly.
     
    I then tried on general.aspx and you are right -- general.aspx does not change the middle sentence:
     
     
     
    So I examined the HTML.
     
    On our online editor, the HTML is:
     
    <html>
        <head>
        </head>
        <body bottommargin="50" leftmargin="75" topmargin="50" rightmargin="50" style="font-size: 12px; font-family: Verdana;">
            <font face="Arial" size="4">
            Type a line of text. </font><font face="Arial" size="4">Set this second sentence large.</font><font face="Arial" size="4"> Leave the outside...</font><br />
            <br />
            Type a line of text. <font face="Georgia" size="5">Set this second sentence large.</font> Leave the outside...<br />
            <br />
        </body>
    </html>
     
    In general.aspx, the HTML is:
     
    <div><br />
    <span style="font-size: 12pt; font-family: Verdana">Type a line of text. <font face="Georgia" size="5">Set this second sentence large.</font> Leave the outside...</span><br />
    </div>
    <div>Type a line of text. <font face="Georgia" size="5">Set this second sentence large.</font> Leave the outside...<br />
    </div>
    You can see there are significant differences in the HTML. It must be a setting, so I checked our settings:
     
    ConvertHTMLTagstoLowerCase: False
    EditCompleteDocument: True
    EnableStripScriptTags: False
    ShowTagSelector: False
    ShowHtmlMode: False
    ShowPreviewMode: False
    URLType: Absolute
     
    I believe BreakElement might be part of the issue as well.
     
    I'm sure you can figure it out from the above info.
     
    FredD
     
     
     
     
     
     
     
View as RSS news feed in XML