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:

committed by
Dominic Sauer

parent
96f5f1f8d7
commit
9c71c6667a
7
app/javascript/toast-ui.js
Normal file
7
app/javascript/toast-ui.js
Normal 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
|
Reference in New Issue
Block a user