Bruno Windels
|
abde8b45d2
|
fix bug that prevented a line from being removed when undoing a newline
|
2019-08-01 11:28:40 +02:00 |
|
Bruno Windels
|
c443dd7a32
|
clarify why use a BOM marker for the caret nodes
|
2019-06-21 16:37:29 +02:00 |
|
Bruno Windels
|
da766b8cba
|
caretNode is a better className
|
2019-06-21 11:21:38 +02:00 |
|
Bruno Windels
|
c5c987f62e
|
use BOM marker instead of ZWS
that's what others do ...
|
2019-06-21 11:21:13 +02:00 |
|
Bruno Windels
|
366a4aa308
|
put zero-width spaces in caret nodes so chrome doesn't ignore them
this requires an update of the editor DOM > text & caret offset logic,
as the ZWS need to be ignored.
|
2019-06-20 14:44:18 +02:00 |
|
Bruno Windels
|
75fc769742
|
insert "caret nodes" where pills don't have an adjacent text node
just empty spans, where the caret can be placed.
|
2019-06-19 17:42:18 +02:00 |
|
Bruno Windels
|
4fc23022f4
|
remove all non-first-br nodes on new empty line, not just first one
nextSibling returned null after calling removeNode,
so get the nextSibling first
|
2019-05-28 10:01:16 +02:00 |
|
Bruno Windels
|
6b1134bdf0
|
add matrix foundation copyright header
|
2019-05-22 16:16:32 +02:00 |
|
Bruno Windels
|
d83e278f6b
|
PR feedback, cleanup
|
2019-05-15 09:46:08 +01:00 |
|
Bruno Windels
|
fd31e793d1
|
fix lint
|
2019-05-14 15:49:53 +01:00 |
|
Bruno Windels
|
c44fed4bea
|
even less logging
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
a3b02cf0cc
|
make logging quiet
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
7ebb6ce621
|
WIP commit, newlines sort of working
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
a2f1f49972
|
update the DOM manually as opposed through react rendering
react messes up the DOM sometimes because of, I assume, not
being aware of the changes to the real DOM by contenteditable.
|
2019-05-14 15:38:16 +01:00 |
|