fix(markdown-widget): support arbitrary component order (#5597)

This commit is contained in:
SMores
2021-08-17 06:01:52 -04:00
committed by GitHub
parent f7f07c5ad7
commit fbfab7cda5
5 changed files with 168 additions and 35 deletions

View File

@ -28,7 +28,6 @@ export default function createEditorComponent(config) {
type,
icon,
widget,
// enforce multiline flag, exclude others
pattern,
fromBlock: bind(fromBlock) || (() => ({})),
toBlock: bind(toBlock) || (() => 'Plugin'),