你用压缩包工具把插件打开,找到editormdPlugin.js文件,用记事本打开editormdPlugin.js
改width: "100%",
height: "100%",然后再把文件夹压缩成zip
- testEditor = editormd(self.ID, {
- width: "100%",
- height: "100%",
- toolbar: !Toolbar,
- flowChart: true,
- markdown: self.OkValue,
- sequenceDiagram: true,
- path: ppath + 'Resources/lib/',
- pluginPath: ppath + 'Resources/plugins/',
- tex: true,
- emoji: true,
- onchange: function () {
- self.OkValue = testEditor.getMarkdown();
- self.commitValue();
- }
- });
复制代码
|