diff --git a/package.json b/package.json index 887b171d..d6325c5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "md-editor-v3", - "version": "4.13.0", + "version": "4.13.1", "keywords": [ "vue", "vue3", @@ -39,7 +39,7 @@ "dayjs": "^1.11.10", "markdown-it-link-attributes": "^4.0.1", "markdown-it-mark": "^4.0.0", - "md-editor-v3": "^4.13.0", + "md-editor-v3": "^4.13.1", "nprogress": "^0.2.0", "vue": "3.2.47", "vue-router": "^4.3.0", diff --git a/public/doc-en-US.md b/public/doc-en-US.md index 3fd01552..3d67ce6b 100644 --- a/public/doc-en-US.md +++ b/public/doc-en-US.md @@ -693,7 +693,7 @@ Except for the same as `MdPreview`: ### 📥 transformImgUrl -- **type**: `(imgUrl: string) => string` +- **type**: `(imgUrl: string) => string | Promise` - **default**: `t => t` Transform image links diff --git a/public/doc-zh-CN.md b/public/doc-zh-CN.md index a51254ec..2ca927a8 100644 --- a/public/doc-zh-CN.md +++ b/public/doc-zh-CN.md @@ -700,7 +700,7 @@ ### 🪒 transformImgUrl -- **类型**:`(imgUrl: string) => string` +- **类型**:`(imgUrl: string) => string | Promise` - **默认值**:`t => t` 转换图片链接 diff --git a/yarn.lock b/yarn.lock index cac8e419..a619ce71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3200,10 +3200,10 @@ marked@*: resolved "https://registry.npmjs.org/marked/-/marked-12.0.1.tgz#8ab1eb15560c7cbe3b011074845d7ca6c4d392b0" integrity sha512-Y1/V2yafOcOdWQCX0XpAKXzDakPOpn6U0YLxTJs3cww6VxOzZV1BTOOYWLvH3gX38cq+iLwljHHTnMtlDfg01Q== -md-editor-v3@^4.13.0: - version "4.13.0" - resolved "https://registry.npmjs.org/md-editor-v3/-/md-editor-v3-4.13.0.tgz#081422612d63e9350b42290565fa42ae74af7763" - integrity sha512-XWeHRlOicPRH6/y21+r1y9augQcbYXK+btg4W0J7F0e2g0VL5ZSvhwQLPlo8ErdMK3Z7v2x8V8lGn6KFjGHieg== +md-editor-v3@^4.13.1: + version "4.13.1" + resolved "https://registry.npmjs.org/md-editor-v3/-/md-editor-v3-4.13.1.tgz#12b34061d2b64a0801001c34c3995a9b34c5829b" + integrity sha512-O/Y/cfcL3Fv4ACP6klFgIJbE9pONjnWzdSo8rjp4ikE4FVZ985TweShLoUNOHAJKLp9erai3tlAl/UrRaFFIdw== dependencies: "@codemirror/lang-markdown" "^6.2.4" "@codemirror/language-data" "^6.4.1"