Bruno Windels
|
45991bc3de
|
replace original event if there have been previous edits
|
2019-05-14 15:39:24 +01:00 |
|
Bruno Windels
|
e2388afb51
|
consistent naming between serialize and deserialize modules
|
2019-05-14 15:39:24 +01:00 |
|
Bruno Windels
|
759a4a54ef
|
send the actual m.replace event from composer content
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
a3b02cf0cc
|
make logging quiet
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
4ff37ca046
|
don't show model for now
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
9e0816c51c
|
find caret offset and calculate editor text in same tree-walking algo
instead of having the same logic twice
|
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
|
8d97c0033e
|
catch this for now as caret behaviour is still a bit flaky
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
64b171198c
|
rerender through callback instead of after modifying model
this way rendering is centralized and we can better rerender
from interaction in the autocompleter
(we didn't have access to caret before)
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
317e88bef2
|
initial hacky hookup of Autocomplete menu in MessageEditor
|
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 |
|
Bruno Windels
|
6be6492cd2
|
initial parsing of pills for editor
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
76bb56a2bf
|
initial hookup editor code with react component
|
2019-05-14 15:38:16 +01:00 |
|
Bruno Windels
|
6599d605cd
|
wire up editor component (somewhat hacky)
|
2019-05-14 15:38:16 +01:00 |
|