loopindex / ckeditor-track-changes

Track changes plugin for CKEditor, based on ICE (track changes for TinyMCE).
www.loopindex.com
Other
51 stars 55 forks source link

IE11: Typed in text keeps TC background color for new text even when TC is off #120

Open nikmaslik opened 7 years ago

nikmaslik commented 7 years ago

1) Open http://www.loopindex.com/lite/demo/ 2) Add a track change 3) Backspace delete the track change 4) Turn off TC by clicking “Stop tracking changes” button in the toolbar 5) Keep typing in new text 6) Observe entered text

Expecting:

Entered text is not highlighted as TC

Actual Outcome:

Entered text has background color as TC has

It seems fake TC is created for entered text. Fake TC does not use ins tag and it has no TC meta data such as user Id etc. Fake TC uses font tag and real TC background color :

<font color="#000000" style="background-color: rgb(227, 255, 255);">fdfdfdfddfdfdffdfdfdf fdfdfdfdfdfdfdf</font>

Obviously fake TC can’t be accepted.