Flaws - how to correct them?

Last post 11-27-2006, 11:54 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  11-26-2006, 2:18 PM 24560

    Flaws - how to correct them?

    If we are trying to use CuteEditor as a word processor, text editor or HTML editor or whatever, we would reasonably expect it to act like a familiar word processor.
     
    One of the characteristics of any word processor or text editor is that new settings selected on the fly ALWAYS START after the cursor position and only apply to characters before the cursor position if those characters have been selected.
     
    CuteEditor doesn't follow that standard. Instead, if you select a new setting (like font or size), CuteEditor applies the setting to the ENTIRE row, including all characters prior to the cursor position.
     
    CuteEditor then makes another major error and selects (highlights) all those characters as well. If the user then accidentally presses [Enter], the entire row vanishes.
     
    CuteEditor then makes a third major error. If, after you have selected the new setting and CuteEditor has applied it to the entire row and highlighted that row, you then click Undo, CuteEditor ignores the new setting action and instead vanishes the whole row
     
    Another absolute standard is that settings ALWAYS continue until changed by the user.
     
    CuteEditor does NOT always maintain consistency of settings as the user moves from one row to the next by pressing [Enter].
     
    These flaws are demonstrated below:
     
    1. Type a word on a new row leaving the cursor at the end of the last character typed. Then use the mouse to select Size 3 from the drop down list. CuteEditor selects the entire row and makes the whole thing size 3 instead of just making subsequent characters size 3.
     
     
    For example, I typed "this" on the below row, then selected Size 3. Even though the cursor is at the end of the word "this", CuteEditor incorrectly made whole word size 3:
     
    this
     
    The only solution to this is to select the last character you typed, then select Size 3. However, this makes the last character size 3 incorrectly.
     
    In FrontPage, WordPad, Word or any other HTML, text editor or word processor, they properly recognize the switch from one size to another.
     
    2. Same problem as above, but with variations: Type a few words on a new row, trying to make each word a different size. It can't be done unless you specifically select the various words AFTER typing them and resize them.
     
    For example, if I type "this" then select Comic as a font, the word "this" incorrectly becomes Comic. If I then type the next word ("that") and select Verdan, the whole row reverts to Verdana.
     
    3. Continuity problems: type a few word on a new row then select the last character and select a new size from the drop down. For example, I typed "This is new" then selected the "w" and selected Size 3 to make the "w" size 3. I then continued typing on that row (I typed ", and this") then I pressed [Enter] to move to the next row.
     
    Instead of the next row continuing with Size 3, it reverted to the original size.
     
    This is new, and this
    is the next row incorrectly using the wrong size.
     
    Is there any solution to these problems?
     
    Fred
  •  11-27-2006, 10:55 AM 24579 in reply to 24560

    Re: Flaws - how to correct them?

    Fred,
     
    Let me explain this in details.
     

    For example, you type "Hello World" into the editor.
     
    Select it and chaneg the font name to Comic sans MS, you will get:

    <span style="FONT-FAMILY: Comic Sans MS">Hello World</span>
     
     
     
    If you select the above HTML code and change the font site, you have two situations:
     
    1. The select range is same. You will get:

    <span style="FONT-SIZE: 12pt; FONT-FAMILY: Comic Sans MS">Hello World</span>
     
     
     
    2. If the select range is not same, CuteEditor will reformat the selection!
     
    For example, what you select is <span style="FONT-FAMILY: Comic Sans MS">Hello World</span> testtest..
     
    In this situation, CuteEditor will generate the following HTML code:
     
    <span style="FONT-SIZE: 14pt">Hello World testtest</span>
     
    Instead of the nested HTML code like this:
     
    <span style="FONT-SIZE: 14pt"><span style="FONT-FAMILY: Comic Sans MS">Hello World</span> testtest..</span>
     
     
     
    It's the best solution we can find to help our client to generate clean HTML/XHTML code. Hope it helps.
     
    If you don't agree this solution, please check Editor.UseFontTags Property.
     
    And set Editor.UseFontTags Property to true and use font tags instead.

    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

  •  11-27-2006, 11:51 AM 24585 in reply to 24579

    Re: Flaws - how to correct them?

    Hi Adam,
     
    Thanks for the info
     
    Fred
  •  11-27-2006, 11:54 AM 24588 in reply to 24585

    Re: Flaws - how to correct them?

    Fred,
     
    Can you set Editor.UseFontTags Property to true and try again?
     

    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

View as RSS news feed in XML