cinny/src/app/components/editor
nexy7574 8d95758ed7
Remove fallback replies & implement intentional mentions (#2138)
* Remove reply fallbacks & add m.mentions

(WIP) the typing on line 301 and 303 needs fixing but apart from that this is mint

* Less jank typing

* Mention the reply author in m.mentions

* Improve typing

* Fix typing in m.mentions finder

* Correctly iterate through editor children, properly handle @room, ...

..., don't mention the reply author when the reply author is ourself, don't add own user IDs when mentioning intentionally

* Formatting

* Add intentional mentions to edited messages

* refactor reusable code and fix todo

* parse mentions from all nodes

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2025-02-23 22:08:08 +11:00
..
autocomplete Improve search result counts (#2221) 2025-02-21 19:14:38 +11:00
Editor.css.ts Room input improvements (#1502) 2023-10-25 16:50:38 +11:00
Editor.preview.tsx Make hotkeys work again (#1819) 2024-07-18 23:20:20 +10:00
Editor.tsx Editor Commands (#1450) 2023-10-18 07:45:30 +05:30
Elements.tsx Improve-auth-media (#1933) 2024-09-09 14:15:20 +05:30
index.ts Editor Commands (#1450) 2023-10-18 07:45:30 +05:30
input.ts Escape markdown sequences (#2208) 2025-02-21 19:19:24 +11:00
keyboard.ts Improve Editor related bugs and add multiline md (#1507) 2023-10-27 21:27:22 +11:00
output.ts Remove fallback replies & implement intentional mentions (#2138) 2025-02-23 22:08:08 +11:00
slate.d.ts support matrix.to links (#1849) 2024-07-30 22:18:59 +10:00
Toolbar.tsx fix editor exit button appears on room switch (#2207) 2025-02-15 18:58:02 +11:00
types.ts Editor Commands (#1450) 2023-10-18 07:45:30 +05:30
utils.ts support matrix.to links (#1849) 2024-07-30 22:18:59 +10:00