suankularb-wittayalai-school / mysk-frontend

The web interface to the MySK database
https://www.mysk.school
5 stars 1 forks source link

Use Tiptap for Markdown Editor in Article Editor #130

Open SiravitPhokeed opened 1 year ago

SiravitPhokeed commented 1 year ago

Is your feature request related to a problem? Please describe. The current Markdown Editor was written from the ground up specifically for MySK, even when it didn’t need to be. This results in an amazingly janky experience. Using Markdown also creates extra confusion for users, as most are most likely not fluent in Markdown. Even if they are, they have to look at the Preview to check if they’re doing it right,

Describe the solution you’d like An editor built on top of a headless WYSIWYG editor, like Tiptap. This reduces the jank and the confusion while still allowing us to style the editor to match the rest of the site.

Additional context Find Tiptap’s documentation here.

SiravitPhokeed commented 5 months ago

Article Editor literally doesn’t exist anymore, but Tiptap could still be useful in Homeroom Content Editor.