Use basic markdown syntax in wangEditor.
- Header
#
##
###
####
#####
- List
-
+
*
- Blockquote
>
- Divider
---
- Codeblock ```js
yarn add @wangeditor/plugin-md
You should register plugin before create editor, and register only once (not repeatedly).
import { Boot } from '@wangeditor/editor'
import markdownModule from '@wangeditor/plugin-md'
Boot.registerModule(markdownModule)
// Then create editor and toolbar