element-web-Github/src/editor
Bruno Windels 690ee63bb4 prevent zero-length removals from deleting uneditable parts
This solves an issue where, when backspacing the proceeding character next to a pill,
chrome reports the caret as being in the pill node, not at
the start of the proceeding text node. This would cause the pill
to be removed together with proceeding character.

This is a bug in any case, removing 0 characters
shouldn't remove the part
2019-05-16 19:14:24 +01:00
..
autocomplete.js put caret after replaced part if no caretOffset is given by autocomplete 2019-05-14 15:38:16 +01:00
caret.js find caret offset and calculate editor text in same tree-walking algo 2019-05-14 15:38:16 +01:00
deserialize.js adjust to js-sdk changes of marking original event as replaced 2019-05-15 11:54:26 +01:00
diff.js add converted prototype code 2019-05-14 15:38:16 +01:00
dom.js fix lint 2019-05-14 15:49:53 +01:00
model.js prevent zero-length removals from deleting uneditable parts 2019-05-16 19:14:24 +01:00
parts.js don't allow newline parts of longer than one newline 2019-05-16 18:13:48 +01:00
render.js PR feedback, cleanup 2019-05-15 09:46:08 +01:00
serialize.js also serialize to text and method to tell us if we need html for model 2019-05-14 15:38:16 +01:00