Changes between Initial Version and Version 2 of Ticket #325


Ignore:
Timestamp:
04/06/07 12:12:35 (7 years ago)
Author:
alfonsoml
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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy