我看文档上说引入 can 的 js 折腾了块两个小时了 网上也几乎没有教程 所以才来求助下大家啊 求助要替换 editor.md 代码如下
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vditor@3.3.2/dist/index.css" /> <script src="https://cdn.jsdelivr.net/npm/vditor@3.3.2/dist/index.min.js" defer></script> 代码 <script> new Vditor('myId', { cache: { enable: false, }, value: '可选模式:sv, ir, wysiwyg', }) </script> </head> <body> <div id="myId"></div> </body> <script> new Vditor('myId', { cache: { enable: false, }, value: '可选模式:sv, ir, wysiwyg', }) </script> </html>
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于