Changes between Initial Version and Version 2 of Ticket #325


Ignore:
Timestamp:
Apr 6, 2007, 10:12:35 AM (17 years ago)
Author:
Alfonso Martínez de Lizarrondo
Comment:

If you get the contents with body.innerHTML then you'll have very serious trouble when the content has any protected source element (comments, script) that will get lost, in links and anchors you'll get extra attributes, in flash, anchors and other special elements you'll get the fake image instead of the contents...

So that would be a really bad workaround as a general rule.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #325

    • Property Keywords Confirmed added; API removed
  • Ticket #325 – Description

    initial v2  
    11Steps to reproduce:
    22
    3 1. Load demo page with Firefox
    4 2. Choose "Sample 8: Editor API usage" from the drop down
    5 3. Focus before "You are using" and hit enter 5 times
    6 4. Click "Get Editor Contents (XHTML)"
     3 1. Load demo page with Firefox
     4 2. Choose "Sample 8: Editor API usage" from the drop down
     5 3. Focus before "You are using" and hit enter 5 times
     6 4. Click "Get Editor Contents (XHTML)"
    77
    88The call returns the proper XHTML, but the text in the editor jumps.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy