markdown编辑器editormd 关闭行号
电脑版发表于:2022/2/3 21:29
很简单,有个属性可以设置的就是: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/",
});