Protect table (html) contents

Last post 05-04-2011, 7:11 AM by ReqMan. 12 replies.
Sort Posts: Previous Next
  •  01-22-2011, 10:17 PM 65836

    Protect table (html) contents

    Hi, I'm hoping you can help me protect my HTML source code.
     
    In my CMS I have placeholders for dynamic data.
    One common placeholder is for table rows.
     eg.
    <table>
    <tr><th>Title</th><th>Value</th></tr>
    ##tabledata##
    </table>
     
    The above example would  replace ##tabledata## with rows of data from the database.
    In previous versions of CuteEditor for ASP, the editor would not change the above source code when switching between Normal and HTML.
    Infact, in the Normal view, it would actually show ##tabledata## inside the bottom of the table (outside of any cells).
     
    However, in the new version, the RTE moves ##tabledata## to the top of the <table> tag.
    eg.
    ##tabledata##
    <table>
    <tr><th>Title</th><th>Value</th></tr>
    </table>
     
    This of course completely breaks my CMS.
    How can I get it working again like the older version of CuteEditor?
     
    Thanks
    Alex
  •  01-23-2011, 8:27 PM 65838 in reply to 65836

    Re: Protect table (html) contents

    Hi ReqMan,
     
    This is the browser(firefox and google chrome) feature. I test it, works fine on IE.
     
    We will improve it in next version. Sorry for your inconvenience.
     
    Regards,
     
    ken
  •  01-23-2011, 11:01 PM 65841 in reply to 65838

    Re: Protect table (html) contents

    Thanks for getting back to me Ken.

    I checked the latest 6.6 version in IE and it kinda of works.
    It doesn't move the placeholder in the HTML view, but the Normal view has the placeholder sitting above the table.
     
    When I used version 6.0, neither Firefox or IE had this problem.
    Infact, even the Normal view showed the placeholder inside the table (within the feint table borders).
     
    What has changed between 6.0 and 6.6 to alter the behavior of tables and their contents?
    Is there something I can change if you point me in the right direction?
     
    Cheers.
    Alex
  •  01-31-2011, 8:52 PM 65973 in reply to 65838

    Re: Protect table (html) contents

    Sorry to be a pain here, but any news on this issue?
     
    I have many customers who need this functionality back, but I can't go back to version 6 as it has other bugs in it.
    Can you fix this or direct me how to fix it?
    Cheers
    Alex
  •  02-04-2011, 1:44 PM 66070 in reply to 65973

    Re: Protect table (html) contents

    Alex,
     
    I cannot reproduce the problem in the following demo:
     
     
    Can you download the latest build then 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

  •  02-06-2011, 5:17 AM 66079 in reply to 66070

    Re: Protect table (html) contents

    Hi Adam,
     
    I can replicate it from your demo page in Firefox.
     
     
    <table border="0" cellpadding="4" cellspacing="4">
    ##test##
         <tbody>
             <tr>
                 <td>
     
    turns into
     
    ##test##
    <table border="0" cellpadding="4" cellspacing="4">
         <tbody>
             <tr>
                 <td>
     
    All you have to do is go from HTML to Normal and then back again.
    IE kind of works, but in the Normal view, the ##test## appears above the table (and it's dotted border), yet stays in the correct HTML position. But it looks like its the wrong place (outside the table) and so is misleading.
     
    The old Cutesoft ver 6 didnt have either of these problems.
    It showed the ##test## inside the table borders, and kept it in place in all views.
     
    THanks for your help. This has become a major problem with my CMS and customers.
  •  02-12-2011, 6:21 AM 66190 in reply to 66079

    Re: Protect table (html) contents

    Any news here?
  •  02-14-2011, 1:32 PM 66216 in reply to 66190

    Re: Protect table (html) contents

    Dear ReqMan,
     
    We can reproduce this, we will investigate and get back to you ASAP.
     
    Thank you for your business
  •  03-01-2011, 5:55 PM 66499 in reply to 66216

    Re: Protect table (html) contents

    Thanks Eric, any news on this?
     
  •  03-02-2011, 10:14 AM 66512 in reply to 66499

    Re: Protect table (html) contents

    Dear ReqMan,
     
    I have forwarded your issue to dev team, they have written your issue down, will consider it in next version.
     
    Thank you for asking
  •  03-02-2011, 8:11 PM 66517 in reply to 66512

    Re: Protect table (html) contents

    Thanks Eric, any ETA on this?
  •  03-08-2011, 11:18 AM 66592 in reply to 66517

    Re: Protect table (html) contents

    ReqMan:
    Thanks Eric, any ETA on this?
    RegMan,
     
    I suggest you use the following code for the time being:
     
    <table>
         <tbody>
             <tr>
                 <th>Title</th><th>Value</th>
             </tr>
             <!--##tabledata##-->
         </tbody>
    </table>
     

    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-04-2011, 7:11 AM 67436 in reply to 66592

    Re: Protect table (html) contents

    Hi, has there been any development on this critical issue?
     
    Using  <!--##tabledata##-->  doesn't work as it hides the ##tabledata## from the normal view, which is misleading to the user.
     
    This used to work, surely someone can get it working properly again?
     
View as RSS news feed in XML