分类:
前端
很简单,有个属性可以设置的就是:lineNumbers: false
完整一点的:
testEditor = editormd("article-editormd-view", { width: "100%", height: 640, syncScrolling: "single", watch: false, //关闭实时预览 toolbarIcons: function () { return ["bold", "del", "italic", "quote", "ucwords", "uppercase", "lowercase"] }, lineNumbers: false,//关闭行号 path: "/lib/editormd/lib/", });
欢迎加群讨论技术,群:677373950(满了,可以加,但通过不了),2群:656732739
评价