Install and use ToastUi markdown editor

Replace all usages of pagedown-bootstrap editor with the new editor.
Add styles to ensure the editor preview matches the final output.
This commit is contained in:
Julia Casamitjana
2024-04-11 10:34:37 +02:00
committed by Dominic Sauer
parent 96f5f1f8d7
commit 9c71c6667a
10 changed files with 362 additions and 37 deletions

View File

@ -0,0 +1,7 @@
/* eslint no-console:0 */
// JS
import ToastUi from "@toast-ui/editor";
// Import German locales (english ones are included by default)
import "@toast-ui/editor/dist/i18n/de-de";
window.ToastUi = ToastUi