mkljczk / pl-fe

Mastodon-compatible social media front-end
https://pl.mkljczk.pl/
GNU Affero General Public License v3.0
12 stars 2 forks source link

Improve WYSIWYG and fix other Lexical editor annoyances #132

Open mkljczk opened 1 month ago

mkljczk commented 1 month ago

Maybe @lexical/markdown has somehow improved? lexical-remark doesn’t seem to be maintained

tassoman commented 1 month ago

https://lexical.dev/docs/api/modules/lexical_markdown it's officially documented.

BTW, reason for having HTML also? I mean, if there's no room for writing "source" status, editor should start as plaintext status. Then, if lexical is summoned, just switch to markdown content type transparently. UI will get easily simplified. Just have to choice audience and language. Language, also, can be guessed while typing, by using local fasttext lib.