vojo/src/app/components/editor
Ajay Bura f5bcc9b851
Edit option (#1447)
* add func to parse html to editor input

* add  plain to html input function

* re-construct markdown

* fix missing return

* fix falsy condition

* fix reading href instead of src of emoji

* add message editor - WIP

* fix plain to editor input func

* add save edit message functionality

* show edited event source code

* focus message input on after editing message

* use del tag for strike-through instead of s

* prevent autocomplete from re-opening after esc

* scroll out of view msg editor in view

* handle up arrow edit

* handle scroll to message editor without effect

* revert prev commit: effect run after editor render

* ignore relation event from editable

* allow data-md tag for del and em in sanitize html

* prevent edit without changes

* ignore previous reply when replying to msg

* fix up arrow edit not working sometime
2023-10-14 10:38:43 +05:30
..
autocomplete Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
common.ts Edit option (#1447) 2023-10-14 10:38:43 +05:30
Editor.css.ts Add ESC btn to toolbar to quickly exit formatting (#1283) 2023-06-16 11:09:09 +10:00
Editor.preview.tsx Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
Editor.tsx Edit option (#1447) 2023-10-14 10:38:43 +05:30
Elements.tsx Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
index.ts Edit option (#1447) 2023-10-14 10:38:43 +05:30
input.ts Edit option (#1447) 2023-10-14 10:38:43 +05:30
keyboard.ts Add ESC btn to toolbar to quickly exit formatting (#1283) 2023-06-16 11:09:09 +10:00
output.ts Edit option (#1447) 2023-10-14 10:38:43 +05:30
slate.d.ts Edit option (#1447) 2023-10-14 10:38:43 +05:30
Toolbar.tsx Add ESC btn to toolbar to quickly exit formatting (#1283) 2023-06-16 11:09:09 +10:00