Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
humyfred committed Aug 25, 2023
2 parents 4598df5 + 9d984b5 commit b8a6f9c
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. See [standa

### [0.8.23-lastest](https://github.com/Tencent/cherry-markdown/compare/v0.8.23...v0.8.23-lastest) (2023-08-25)

### Bug Fixes

* [#546](https://github.com/Tencent/cherry-markdown/issues/546) 在node环境下,输入联想会引发报错 ([e24f1e1](https://github.com/Tencent/cherry-markdown/commit/e24f1e1db09b198c63b8b47ab3d16b91eb3bf0a7))

### [0.8.23](https://github.com/Tencent/cherry-markdown/compare/v0.8.22...v0.8.23) (2023-08-24)


Expand Down
4 changes: 2 additions & 2 deletions dist/cherry-markdown.core.common.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.core.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.engine.core.common.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.engine.core.esm.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.engine.core.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.esm.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/cherry-markdown.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/cherry-markdown.min.js
Git LFS file not shown
2 changes: 1 addition & 1 deletion dist/fonts/ch-icon.eot
Git LFS file not shown
2 changes: 1 addition & 1 deletion dist/fonts/ch-icon.ttf
Git LFS file not shown
2 changes: 1 addition & 1 deletion dist/fonts/ch-icon.woff
Git LFS file not shown
4 changes: 2 additions & 2 deletions dist/fonts/ch-icon.woff2
Git LFS file not shown
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cherry-markdown",
"license": "Apache-2.0",
"version": "0.8.23",
"version": "0.8.23-lastest",
"description": "a new markdown editor",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions src/core/hooks/Suggester.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ export default class Suggester extends SyntaxBase {
}

afterInit(callback) {
// node环境下直接跳过输入联想
if (!isBrowser()) {
return;
}
if (typeof callback === 'function') {
callback();
}
Expand Down

0 comments on commit b8a6f9c

Please sign in to comment.