cherry-markdown
cherry-markdown copied to clipboard
[Bug Report] 纯预览的时候,点击了p标签元素,p标签会被设置contenteditable=“true”导致变为编辑状态
Prerequisites
-
[ ] There isn't an existing issue that reports the same bug to avoid duplicates.
-
[ ] The provided information offers a minimal reproducible example of the bug, (Why create a Minimal).
-
[ ] For Q&A, please open a GitHub Discussion instead.
Version
v0.10.2
Reproduction Link
No response
Describe the Bug
纯预览的时候,点击了p标签元素,p标签会被设置contenteditable=“true”导致变为编辑状态
System Information
Contributing
None
new Cherry({
...
previewer: {
enablePreviewerBubble: false
}
...
});
在实例化cherry时可以传入这个配置关掉预览区的编辑功能哈