JeffersonLab / jaws-admin-gui

Web admin interface for JAWS
https://ace.jlab.org/jaws
MIT License
0 stars 0 forks source link

Revisit Markdown lib #18

Closed slominskir closed 1 month ago

slominskir commented 2 years ago

The current lib used for Markdown is toastui, and it has some issues: the main one is the "viewer" requires actively being tied to a DOM element. Currently we use a hidden div. This is a performance hit and ugly. Ideally rendering HTML from Markdown is done in a Web Worker in the background as demonstrated in marked.js.org.

The toastui editor has some focus quirkiness as well: https://github.com/JeffersonLab/jaws-admin-gui/issues/10

There are a bunch of alternatives, but it's just going to be time consuming to evaluate and find a better one such as:

slominskir commented 1 month ago

Replaced toastui Markeddown editor with Marked in v4.6.0