wangsongc
wangsongc
工具栏有`居右`的按钮,你也可以这么写: ``` ::: hljs-right 居右 ::: ```
可以通过`externalLink`选项配置CDN,希望能帮到你 ```vue import 'mavon-editor/dist/css/index.css'; import { mavonEditor } from 'mavon-editor'; export default { name: 'editor', components: { mavonEditor }, data: function () { return { external_link: { markdown_css: function ()...
在`no-cnd.md`里边也提供了[使用本地加载](https://github.com/hinesboy/mavonEditor/blob/master/doc/cn/no-cnd.md)的方式,可以更好地解决网络环境的影响。
工具栏按钮是支持自定义的,可以自己加一个链接按钮 参考:https://github.com/hinesboy/mavonEditor#toolbars
正常使用好像没有出现锚点失效,可否提供一下复现的例子或者更多的信息。 ----- It seems that no anchor failure occurs during normal use. Can you provide an example or more information about this problem?
现在有一个vue3的beta版本,可以试用,后面会推出TS版本的,敬请期待。 参考文档:https://github.com/originjs/mavonEditor-next#use-%E5%A6%82%E4%BD%95%E5%BC%95%E5%85%A5
Editor.vue中已经引入mavonEditor了,Add.vue不用再`use`, 修改成下面试试 ```vue import { createApp, h } from 'vue' import editor from '@/components/Editor.vue' createApp({ render: () => h(editor) }).mount('#main'); ```