splitLine 和 preview 都不在 wangEditor 5 已注册菜单列表中, 之前在 toolbarKeys 中包含这两个导致 'Not found menu item factory' 报错, 进而引发编辑器代理被撤销后的 proxy 访问错误。
@@ -126,11 +126,11 @@ export default {
'|',
'blockquote', 'codeBlock', 'todo',
- 'divider', 'splitLine', 'clearStyle',
+ 'divider', 'clearStyle',
'emotion',
- 'fullScreen', 'preview'
+ 'fullScreen'
]
}