Changes between Initial Version and Version 1 of Ticket #11990


Ignore:
Timestamp:
May 22, 2014, 2:26:00 PM (10 years ago)
Author:
Jakub Ś
Comment:

@a.delura i have modified your description as I think you have meant checkDirty.

When you start editor with text like "pp", delete p (checkDirty==true) and then type p again you get checkdirty==false. One would expect same behaviour from a widget holding text-like data.

Weird case scenario with above code is that switching to source mode and back causes checkDirty to return true - it is possible that code is invalid and editor modifies it thus you get such result.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11990

    • Property Status changed from new to confirmed
    • Property Version changed from to 4.4.1
    • Property Summary changed from Codesnippet checkDirty is true after modify code and then rollback to Codesnippet checkDirty is true after modify code and then rollback or switch to source and back
  • Ticket #11990 – Description

    initial v1  
    15155. Apply changes.
    1616
    17 '''Actual result''': Calling method {{{CKEDITOR.instances.editor1.getSnapshot();}}} return false
     17'''Actual result''': Calling method {{{CKEDITOR.instances.editor1.ckeckDirty();}}} return false
    1818
    1919'''Please note''': This happend only when there are two codesnippet widgets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy