Skip to content

Commit

Permalink
🐛 fix #611
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jul 23, 2020
1 parent ff49ba7 commit febb24e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

### v3.3.11 / 2020-07-xx

* [611](https://github.com/Vanessa219/vditor/issues/611) SV 模式粘贴图片拉取上传问题 `修复缺陷`
* [616](https://github.com/Vanessa219/vditor/pull/616) fix: safari下选中文字添加标题文字会消失 `修复缺陷`
* [615](https://github.com/Vanessa219/vditor/issues/615) 即时渲染模式下在safari中光标位置跳动 `修复缺陷`

Expand Down
2 changes: 1 addition & 1 deletion src/ts/util/fixBrowserBehavior.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ export const paste = (vditor: IVditor, event: ClipboardEvent & { target: HTMLEle
}
const original = responseJSON.data.originalURL;
if (vditor.currentMode === "sv") {
vditor.sv.element.querySelectorAll('[data-type="image"] .vditor-sv__marker--link')
vditor.sv.element.querySelectorAll(".vditor-sv__marker--link")
.forEach((item: HTMLElement) => {
if (item.textContent === original) {
item.textContent = responseJSON.data.url;
Expand Down

0 comments on commit febb24e

Please sign in to comment.