Problem with formatting overwrites - span tag issue

Last post 03-27-2008, 2:02 PM by ytang. 2 replies.
Sort Posts: Previous Next
  •  03-25-2008, 5:57 PM 38353

    Problem with formatting overwrites - span tag issue

    Hi,
     
    We're running into a problem when making multiple adjustments to one or more lines of content.
     
    In Normal View:
    1. type "hello world"
    2. highlight entire line and make a change to the font size
    3. highlight "world" and change font face
    4. highlight entire line and attempt to make a change to font face
    5. You will note that "hello" changed as expected but "world" didn't change at all
     
    Please note the span tag below:
     
    <span style="font-size: 18pt; font-family: Georgia">hello <span style="font-family: Comic Sans MS">world</span></span>
     
    It seems as though, with multiple changes, the span tags stack vs. overwrite therefore causing inconsistencies in the styles chosen.  Is anyone else having this problem?  Can this be corrected?
     
    Thanks
  •  03-26-2008, 9:01 PM 38382 in reply to 38353

    Re: Problem with formatting overwrites - span tag issue

    ytang,
     
    I cannot reproduce this issue in the following example:
     
     
    Can you try it?
     
    Keep me posted
     

    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

  •  03-27-2008, 2:02 PM 38405 in reply to 38382

    Re: Problem with formatting overwrites - span tag issue

    Thanks Adam, we tested here before and were able to reproduce through the link you provided.  Here's what we get.  When we followed the use case above the font type is not being changed as should be the case for the whole line just for part of the line in WYSIWYG way because the second word is still wrapped by the old tag.  It wasn't overwritten when new font type was applied to the whole line.
     
     
    <span style="font-size: 14pt; font-family: Times New Roman">hello <span style="font-family: Comic Sans MS">world</span></span>
View as RSS news feed in XML