update cherry-markdown and update editormd code block style (#888)

* fix: first open document, cherryMarkdown not have theme

* fix: modify prismjs style and improve image clarity

* update cherry-markdown

* optimiztion: cherry-markdown

* feat: cherry-markdown add auto-save and update icon

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
This commit is contained in:
张胜
2023-08-21 02:09:47 -05:00
committed by GitHub
parent 5011aa964f
commit 2e3aebe315
13 changed files with 75026 additions and 67670 deletions

View File

@@ -53,7 +53,7 @@ function addPostMessageListener(graphEditor) {
case 'getData':
editorUIInstance.editor.graph.stopEditing();
var xmlData = mxUtils.getXml(editorUIInstance.editor.getGraphXml());
editorUIInstance.exportImage(1, "#ffffff", true, null, true, 50, null, "png", function (base64, filename) {
editorUIInstance.exportImage(2, "#ffffff", true, null, true, 50, null, "png", function (base64, filename) {
window.parent.postMessage({
mceAction: 'getData:success',
eventName: 'getData:success',