informatics-isi-edu / chaise

An adaptive user interface for the Deriva platform.
https://www.isi.edu/isr/
Apache License 2.0
9 stars 6 forks source link

Markdown preview modal extension #2271

Open jrchudy opened 1 year ago

jrchudy commented 1 year ago

The markdown input in recordedit has a button in the md-editor header that opens a modal and shows the content from the input parsed to json. This popup should be improved to include a markdown editor alongside the preview.

Some markdown libraries that were evaluated had this feature among others that we didn't want to include. We should consider whether this feature should come from a library or if the implementation is simple enough, implement it ourself.

jrchudy commented 1 year ago

In issue #2176 we discussed adding the md-editor header to the array input with the "help" and "preview" buttons. Should this be both preview buttons?