Custom tags are modified

Last post 11-08-2005, 6:40 AM by IRIS. 11 replies.
Sort Posts: Previous Next
  •  10-14-2005, 7:33 AM 11729

    Custom tags are modified

    Another problem is:
     
    I have a custom tag <portal:xxx param1="value1" .../> and the format is modified
     
    Exemple:
    <portal:pagelink class="mentionlink" Label="Label" Name="Test"/>

    Becomes:
    <?xml:namespace prefix = portal /><portal:pagelink class=mentionlink Label="Label" Name="Test"></portal:pagelink>
     
    - the    <?xml...    tag added is not a problem
    - the end tag    />    replaced by    ></...>    is not a problem
    - but the format    class="mentionlink   without cotes IS a problem for me
     
    What can I do to avoid it ?
     
    Thx
  •  10-25-2005, 10:04 AM 11983 in reply to 11729

    Re: Custom tags are modified

    I have solved this problem...

    I have set the value of the property "DisableAutoFormatting" to FALSE !?!

    Is it a bug or I don't have understood its functionality ?
  •  10-25-2005, 11:15 AM 11991 in reply to 11983

    Re: Custom tags are modified

    It's a bug. We will fix it in the next build. Sorry for the inconvenience.
     
     

    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

  •  10-26-2005, 11:39 PM 12039 in reply to 11991

    Re: Custom tags are modified

    Sorry, there is a solution.

    Try set Editor.ConvertHTMLTagstoLowercase property to false.
     

    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

  •  10-27-2005, 3:19 AM 12041 in reply to 12039

    Re: Custom tags are modified

    "ConvertHTMLTagstoLowercase" is not a property of the object "Editor1" !?!
     
    Do I have to download the last version of the DLL?
  •  10-27-2005, 3:46 AM 12042 in reply to 12041

    Re: Custom tags are modified

    OK, I have downloaded the last version of the dll and it works Now
     
    But ...
     
    See http://cutesoft.net/forums/11728/ShowPost.aspx because your solution does not concern this post
  •  10-27-2005, 4:07 AM 12045 in reply to 11991

    Re: Custom tags are modified

    For your info, the bug related by this post is not fix in the last version ;-)
     
    I must always set "DisableAutoFormatting=false"
  •  10-27-2005, 10:50 AM 12052 in reply to 12045

    Re: Custom tags are modified

    Make sure you update the CuteEditor.dll and client files as well.
     
    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

  •  10-31-2005, 4:43 AM 12124 in reply to 12052

    Re: Custom tags are modified

    Please, see http://cutesoft.net/forums/11728/ShowPost.aspx for more about DisableAutoFormatting property problems.
     
    Thx
  •  11-08-2005, 5:44 AM 12363 in reply to 12124

    Re: Custom tags are modified

    Sorry, but I have always a logical problem with your properties:
     
    Before:
    Image with PH: <Portal:Image Name="Test Image" URL="True" PH="True"/><br>
    <hr>
    PortalPageLink: <Portal:PageLink Name="_Test" Label="<<Page> <de> <test>>" Class="mentionlink" Bookmark=""/><br>
    <hr>
    PortalPoll:<br>
      <portal:poll name="First Poll">
        <question id="0001">
        <OL>
          <LI><answer id="0001">
          <LI><answer id="0003">
        </OL>
        <submit name="submit" label="Vote"><BR>
        <results name="results"><BR>
        <previous name="previous">
      </portal:poll><br>
    <hr>

    After (DisableAutoFormatting=false AND ConvertHTMLTagstoLowercase=false):
    Image with PH: <?XML:NAMESPACE PREFIX = Portal /><Portal:Image PH="True" URL="True" Name="Test Image"></Portal:Image><BR>
    <HR>
    PortalPageLink: <Portal:PageLink class=mentionlink Name="_Test" Bookmark="" Label="<<Page> <de> <test>>"></Portal:PageLink><BR>
    <HR>
    PortalPoll:<BR>
      <portal:poll name="First Poll">
        <QUESTION id=0001>
        <OL>
          <LI><ANSWER id=0001>
          <LI><ANSWER id=0003></LI>
        </OL>
        <SUBMIT name="submit" label="Vote"><BR>
        <RESULTS name="results"><BR>
        <PREVIOUS name="previous">
      </portal:poll><BR>
    <HR>
     
    After (DisableAutoFormatting=false AND ConvertHTMLTagstoLowercase=true):
    Image with PH: <?xml:namespace PREFIX = Portal /><portal:image PH="True" URL="True" Name="Test Image"></portal:image><br>
    <hr>
    PortalPageLink: <portal:pagelink class=mentionlink Name="_Test" Bookmark="" Label="<<page> <de> <test>>"></portal:pagelink><br>
    <hr>
    PortalPoll:<br>
      <portal:poll name="First Poll">
        <question id=0001>
        <ol>
          <li><answer id=0001>
          <li><answer id=0003></li>
        </ol>
        <submit name="submit" label="Vote"><br>
        <results name="results"><br>
        <previous name="previous">
      </portal:poll><br>
    <hr>

    After (DisableAutoFormatting=true AND ConvertHTMLTagstoLowercase=false):
    Image with PH: <?XML:NAMESPACE PREFIX = Portal /><Portal:Image PH="True" URL="True" Name="Test Image"></Portal:Image><BR>
    <HR>
    PortalPageLink: <Portal:PageLink class=mentionlink Name="_Test" Bookmark="" Label="<<Page> <de> <test>>"></Portal:PageLink><BR>
    <HR>
    PortalPoll:<BR>
      <portal:poll name="First Poll">
        <QUESTION id=0001>
        <OL>
          <LI><ANSWER id=0001>
          <LI><ANSWER id=0003></LI>
        </OL>
        <SUBMIT name="submit" label="Vote"><BR>
        <RESULTS name="results"><BR>
        <PREVIOUS name="previous">
      </portal:poll><BR>
    <HR>
     
    After (DisableAutoFormatting=true AND ConvertHTMLTagstoLowercase=true):
    Image with PH: <?xml:namespace PREFIX = Portal /><portal:image PH="True" URL="True" Name="Test Image"></portal:image><br>
    <hr>
    PortalPageLink: <portal:pagelink class=mentionlink Name="_Test" Bookmark="" Label="<<page> <de> <test>>"></portal:pagelink><br>
    <hr>
    PortalPoll:<br>
      <portal:poll name="First Poll">
        <question id=0001>
        <ol>
          <li><answer id=0001>
          <li><answer id=0003></LI>
        </ol>
        <submit name="submit" label="Vote"><br>
        <results name="results"><br><previous name="previous">
      </portal:poll><br>
    <hr>
     
  •  11-08-2005, 6:01 AM 12367 in reply to 12363

    Re: Custom tags are modified

    This is an IE behaviour.
     
    For some reasons, IE automatically convert the "Class" to "class".
     
    You can test it here:
     
     
    In the above link, there is only simple editable div. 
     
     

    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-08-2005, 6:40 AM 12380 in reply to 12367

    Re: Custom tags are modified

    Yes but, with a preceding correction, the value put between two quotation marks... and now, these quotation marks disappear again, like the starting version !?!
     
    Why ?
View as RSS news feed in XML