Opened 9 years ago

Last modified 9 years ago

#14294 confirmed Bug

CheckDirty is true after focusing image2 and simplebox widgets

Reported by: Quurks Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

Same as #11753, except with Firefox 43.0.1: As soon as you focus a place in a widget where you can put text, CheckDirty is true. (Also works with editor1)

Expected result

CheckDirty remains false

Actual result

CheckDirty switches to true

Other details (browser, OS, CKEditor version, installed plugins)

Firefox 43.0.1 Chrome seems to be ok.

Edit: This issue may concern other widgets as well. Please also see #12891 where MathJax and Code Snippet have other problems with checkDirty.

Change History (5)

comment:1 Changed 9 years ago by Jakub Ś

Status: newpending
Version: 4.5.6

I could not reproduce this problem. Could tell me which widget you have checked?

You ticket is similar to #12891 but this doesn't involve clicking and doesn't happen only in Chrome.

comment:2 Changed 9 years ago by Quurks

While testing you have to use a widget in the editor you are testing, if you follow the steps in #11753 exactly, you have to click at the "Apollo CMS-LM spacecraft" text.

comment:3 Changed 9 years ago by Jakub Ś

Description: modified (diff)
Status: pendingconfirmed
Summary: CheckDirty is true after focusing a widget in FirefoxCheckDirty is true after focusing a widget image2 widget
Version: 4.3

Confirmed. Sorry, I didn't check the issue properly the first time.

Problem with image2 can be reproduced in all browsers in fact. Just run below code in Browser's console, click into image2 editing area and wait

setTimeout(function(){console.log(CKEDITOR.instances.editor1.checkDirty());}, 5000);

I was able to reproduce this issue from CKEditor 4.3.

comment:4 Changed 9 years ago by Quurks

Please note it's not bound to image2, it (at least in FF) also affects the simplebox widget in editor1 (as soon as you focus the editable, checkDirty is true).

comment:5 Changed 9 years ago by Jakub Ś

Description: modified (diff)
Summary: CheckDirty is true after focusing a widget image2 widgetCheckDirty is true after focusing image2 and simplebox widgets

Completely forgotten about that widget. While MathJax and CodeSnippet have different issues with this method other widgets may have similar or same problem as described in the TC.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy