Skip to content

Commit 40760b5

Browse files
committed
fix: 修复分享预览界面富文本内容不允许复制问题 dataease#15858
1 parent dc090cb commit 40760b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,11 @@ const handleInnerMouseDown = e => {
173173
e?.stopPropagation()
174174
e?.preventDefault()
175175
}
176-
if (['popEdit', 'preview'].includes(showPosition.value) || dvMainStore.mobileInPc) {
176+
if (
177+
(!['rich-text'].includes(config.value.innerType) &&
178+
['popEdit', 'preview'].includes(showPosition.value)) ||
179+
dvMainStore.mobileInPc
180+
) {
177181
onClick(e)
178182
if (e.target?.className?.includes('ed-input__inner')) return
179183
e?.stopPropagation()

0 commit comments

Comments
 (0)