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

Replacing Italicised text causes incorrect insertion position. #138

Open jamesey2001 opened 6 years ago

jamesey2001 commented 6 years ago

Visit the demo page:

https://www.loopindex.com/lite/demo/

  1. Highlight the word "Welcome" in the editor.
  2. Click the "I" button to make it italic.
  3. Highlight the letters com from the italicised word.
  4. Type in any character ( i.e. z )
  5. com becomes struck thru but the z character is inserted at the start of the word, i.e zWelcome instead of Welzcome

Further steps,

  1. Try the same with Underline, Strike Through, Subscript, Superscript
  2. Same results as above, the insert position jumps to the start of the applied style.