Skip to content

Commit

Permalink
Fix: setValue后处理img-base64格式防止显示长字符串 (#727)
Browse files Browse the repository at this point in the history
* chore(release): v0.8.36

* fix: setValue后处理img-base64格式防止显示长字符串

---------

Co-authored-by: jiawei686 <892001108@qq.com>
Co-authored-by: owen.wjh <owen.wjh@alibaba-inc.com>
  • Loading branch information
3 people authored Mar 6, 2024
1 parent 6294fa9 commit e3f2d3f
Show file tree
Hide file tree
Showing 14 changed files with 341 additions and 39 deletions.
35 changes: 32 additions & 3 deletions dist/addons/cherry-code-block-mermaid-plugin.d.ts
Git LFS file not shown
4 changes: 1 addition & 3 deletions dist/addons/cherry-code-block-mermaid-plugin.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions dist/addons/cherry-code-block-plantuml-plugin.d.ts
Git LFS file not shown
4 changes: 1 addition & 3 deletions dist/addons/cherry-code-block-plantuml-plugin.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/cherry-markdown.core.common.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.core.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.engine.core.common.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.engine.core.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.engine.core.esm.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.esm.d.ts
Git LFS file not shown
6 changes: 3 additions & 3 deletions dist/cherry-markdown.min.d.ts
Git LFS file not shown
279 changes: 276 additions & 3 deletions dist/fonts/ch-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Cherry.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ export default class Cherry extends CherryStatic {
codemirror.setValue(content);
const cursor = codemirror.getDoc().posFromIndex(newPos);
codemirror.setCursor(cursor);
this.editor.dealSpecialWords();
}

/**
Expand Down

0 comments on commit e3f2d3f

Please sign in to comment.