mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added EasyMDE instead of Quill as the editor, because it supports Markdown (requested in #936 ). Made the colors of the editor fit the colors of the selected theme.
3 lines
200 B
JavaScript
3 lines
200 B
JavaScript
const notes_view = new EasyMDE({element: document.getElementById('notes_view'), forceSync: true, spellChecker: false, toolbar: false, maxHeight: '350px', readOnly: true});
|
|
notes_view.togglePreview();
|