Issue with bolding in version 5.3

Last post 05-23-2006, 11:03 AM by bhill10. 9 replies.
Sort Posts: Previous Next
  •  05-17-2006, 8:20 AM 19239

    Issue with bolding in version 5.3

    Whenever I bold the whole editor I get different results when using fire fox and IE.  Firefox puts the bold tag in side of the div tag and IE puts the bold tag as a strong tag.  Why is the bold not set as a <B> tag instead of <strong> and style="font-weight: bold;".  The older verision of cute editor that I have uses <B> tags which is what I would prefer however I could live with <strong> tags for both ie and fire fox.


    original Text
    <div align="center"><span style="font-family: Lucida Sans; color: #7ac142; font-size: 18pt;">(Customer Name)<br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></div>

    FireFox Text
    <div style="font-weight: bold;" align="center"><span style="font-family: Lucida Sans; color: #7ac142; font-size: 18pt;">(Customer Name)<br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></div>


    IE Text
    <div align=center><span style="FONT-SIZE: 18pt; COLOR: #7ac142; FONT-FAMILY: Lucida Sans"><strong>(Customer Name)<br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</strong></span></div>
  •  05-18-2006, 7:51 AM 19271 in reply to 19239

    Re: Issue with bolding in version 5.3

    is there any update on this issue.  Another question I have is, is there a way that I can create a custom button that when clicked will put text infront of and behind the selected text.  Meaning that with my own button I can place a <B> infront of the highlighted text and </B> behind the highlighted text.
  •  05-19-2006, 3:24 PM 19347 in reply to 19271

    Re: Issue with bolding in version 5.3

    when is it that is should expect a response
  •  05-19-2006, 3:42 PM 19348 in reply to 19271

    Re: Issue with bolding in version 5.3

    bhill10,
     
    First if you prefer <b> tag, please set UsePhysicalFormattingTags property to true.
     
    Editor.UsePhysicalFormattingTags Property
    These are two types of text formatting tags -- logical formatting tags ( <strong> and <em> ), which describe the information in the element, and physical formatting tags (<b> and <i>), which specify its appearance. By default CuteEditor use the logical formatting tags ( <strong> and <em> ). If you want to use the physical tags (<b> and <i>), 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

  •  05-19-2006, 3:47 PM 19349 in reply to 19239

    Re: Issue with bolding in version 5.3

    I tested your code.
     
    I got the following result in Firefox:
     
    <div align="center"><strong><span style="font-family: Lucida Sans; color: #7ac142; font-size: 18pt;">(Customer Name)<br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></strong></div>
     
    I think the result depends on your selection.
     
    If your selection include the DIV, firefox will change the formatting of DIV tag.  If your selection only include the text, firefox will change the formatting of text only.
     
    Does it make sense to you?
     
     
     

    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

  •  05-19-2006, 3:49 PM 19350 in reply to 19271

    Re: Issue with bolding in version 5.3

     bhill10 wrote:
    is there any update on this issue.  Another question I have is, is there a way that I can create a custom button that when clicked will put text infront of and behind the selected text.  Meaning that with my own button I can place a <B> infront of the highlighted text and </B> behind the highlighted text.
     
    It's possible.
     
    Please check the following thread:
     
     

    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

  •  05-20-2006, 7:40 AM 19356 in reply to 19349

    Re: Issue with bolding in version 5.3

    Hi Adam,
    Thanks for your reply.

    This issue with the bolding is still not handled correctly in firefox when I highlight the first line of text and click the bold button in ie I now get <b></b> tags around the text in firefox I get <span style="font-weight: bold;"></span>.  This actually makes the text lose all of its size properties from the previous span tag.  I tried my starting text on http://cutesoft.net/example/general.aspx and this produced the same results that I had before


    This is my test page
    http://cuteeditor.seisan.com/cs/default.aspx


    original
    <div align=center><span style="FONT-SIZE: 18pt; COLOR: #7ac142; FONT-FAMILY: Lucida Sans">(Customer Name)<br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></div>


    ie
    <div align=center><span style="FONT-SIZE: 18pt; COLOR: #7ac142; FONT-FAMILY: Lucida Sans"><b>(Customer Name)</b><br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></div>

    Firefox
    <div align="center"><span style="color: #7ac142; font-size: 18pt; font-family: Lucida Sans;"><span style="font-weight: bold;">(Customer Name)</span><br>(Week Day of Mtg), (Time of mtg)<br>(Room Location)<br><br>For more information, contact<br>(Contact Name) at <br>(Contact Phone) or (Contact Email)</span></div>

  •  05-22-2006, 9:08 PM 19397 in reply to 19356

    Re: Issue with bolding in version 5.3

    Am I not setting a property on the control? so that <strong> or <b> tags are displayed rather than span tags
  •  05-23-2006, 10:46 AM 19410 in reply to 19397

    Re: Issue with bolding in version 5.3

    Try the following setting:
     
    <CE:Editor id="Editor1" UseFontTags="true" UsePhysicalFormattingTags="false" runat="server"></CE:Editor>
     
     

    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

  •  05-23-2006, 11:03 AM 19414 in reply to 19410

    Re: Issue with bolding in version 5.3

    Thanks Adam,
    That seems to have taken care of my final issues.

View as RSS news feed in XML