mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-25 10:59:13 +08:00
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:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
2
static/cherry/cherry-markdown.min.js
vendored
2
static/cherry/cherry-markdown.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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',
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 280 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
static/cherry/temp/cherry-markdown.js.map
Normal file
1
static/cherry/temp/cherry-markdown.js.map
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user