vue-markdown-editor
vue-markdown-editor copied to clipboard
A markdown editor built on Vue
 
看previe.vue里文件没有声明或接收langConfig这个变量,我使用的版本是1.17.11,虽说可以正常使用,但是每次打开console都报两个 错误是不是不好 vue.runtime.esm.js:4610 [Vue warn]: Error in getter for watcher "langConfig": "TypeError: Cannot read properties of undefined (reading 'undefined')" vue.runtime.esm.js:3058 TypeError: Cannot read properties of undefined (reading 'undefined') at VueComponent.langConfig...
 如图, 编辑器会报错, 然后 preview(纯预览模式) 模式下, 可能是因为报错, 目录导航出不来 预览组件不会报错, 但是目录导航也出不来.... 我的Typora编辑的所有.md 没有一个不报ResizeObserver的....
Because it breaks if you use version 6.
1. JavaScript arrow functions are displayed incorrectly:  2. Fixed: 3. The other arrows are also as expected:
Uncaught runtime errors: × ERROR ResizeObserver loop limit exceeded at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:299:58) at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:318:7)
参考文档:https://ckang1229.gitee.io/vue-markdown-editor/zh/senior/anchor.html, ``` {{ anchor.title }} ``` 该代码无法执行,原因是 ,v-md-preview无法使用,会报错:VMEditorParse啥的错误。而且,vue3语法有点乱,有的地方使用vue2,有的地方使用vue3.
Vue3的onMounted生命周期中可以获取到组件最外层的div,获取不到组件内部的h1, h2, h3, h4....
I have error ``` this.$slots.default is not a function render@webpack-internal:///../../node_modules/@kangc/v-md-editor/lib/base-editor.js:5034:20 compatRender@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:4896:21 renderComponentRoot@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:2839:16 componentUpdateFn@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:8833:46 run@webpack-internal:///../../node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:587:19 ``` I am using vue3 and this lib in latest version.  I...