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

font size,fontcolor,background color issue #92

Open Amara-Balakrishna1 opened 8 years ago

Amara-Balakrishna1 commented 8 years ago

in tracking mode if i wrote "Indian League" in font 15px and "Premier" in 25px .but looks like Indian Premier League in 15px.change in font size and back ground color and other things are not able to apply for texts.

Amara-Balakrishna1 commented 8 years ago

is there any api to know cureently which text node is changing...(insertred/deleted)

imdfl commented 8 years ago

You can get notifications after DOM change events. See the docs about Mutation Observers. We're currently integrating this into LITE. Big change, will take a while.

https://developer.mozilla.org/en/docs/Web/API/MutationObserver

imdfl commented 8 years ago

The problem is related to the awkward way that various code paths prepare a dummy selection, due to browser constraints. LITE sometimes deletes this dummy selection. Resolving the problem in the current tracking paradigm may break other functionality. We will completely sidestep this issue in the next major update of the LITE code, which will obviate most of the keyboard event preprocessing. Check back in a few weeks

Lunch80 commented 7 years ago

Any development? I am quite desperate about this one. :(