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

Trackchanges disabling input form elements #123

Open elatedstar opened 7 years ago

elatedstar commented 7 years ago

I am dynamically adding text paragraphs inside ckeditor, some paragraphs have placeholder values as input text fields where user can enter value. <span class="elastic-input" contenteditable="false"><input size="20"></span> It works fine without track changes.

When i enable track changes then input fields become read-only, user cannot type anything.

I tried to exclude input elements from track changes by using lite.ignoreSelectors = ["[data-track-changes-ignore]"] as editor.insertHtml('<div data-track-changes-ignore="ignore"><span class="elastic-input error" contenteditable="false"><input data-track-changes-ignore="ignore" size="20"></span></div>', "unfiltered_html");but no success. same behavior when i tried data-track-changes-ignore with in input element tag.

I am using ckeditor_4.7.0, lite_1.2.28 and Chrome How to solve this?

imdfl commented 7 years ago

I'll look into this soon.