https://github.com/Aubrey-J/vue-editormd-wrap 中static下的editor-md文件夹放到项目中的static下,如静态资源路径不同,请参考下面配置的修改,以保证使用正常,一定要是用该项目的static,因为katex.min的引入改为了本地静态资源,editor.md官网的static资源和该项目的不一样...
话不多说,先上代码,习惯性在components里定义自己的公共组件,名称看个人习惯,我的叫做commonConfirm,定义一个对应的.vue文件以及index.js 首先你的commonConfirm.vue 文件 然后是你的index.js文件 根据你的调用,可以在组件内import ,也可以在main.js中全局引用 最后页面中的使用方法 扒了好的demo,最后根据项目实际...
Hi! Thanks for the project. When using the CodeMirror editor the text is wrapped by default. When I change to using the Monaco editor the editor becomes long and requires a scrollbar. Is there any way to pass an argument to allow for word wrapping?