Skip to content

Commit

Permalink
0.7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
likemuuxi committed Dec 16, 2024
1 parent 906b8c4 commit d6e01a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ export default class ModalOpenerPlugin extends Plugin {
this.handlePreviewModeLink(evt);
return;
}
// 适配 tldraw 编辑模式下嵌入视图
if (targetElement.closest('img')) {
this.handlePreviewModeLink(evt);
return;
}
// 适配在编辑模式下 richfoot 的 alt 点击
if (targetElement.closest('.rich-foot')) {
this.handlePreviewModeLink(evt);
Expand Down

0 comments on commit d6e01a1

Please sign in to comment.