Files
wavelog/assets/js/sections/notes_view.js
MatykoBr 7f3c0f8418 Added support for Markdown in Notes as requested in #936
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.
2025-02-11 22:19:59 +01:00

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();