Merge pull request #8 from lhyUnited/hotfix/select-issue

修复Safari无法编辑文本框问题
This commit is contained in:
LLzzZZ 2021-03-27 16:57:36 +08:00 committed by GitHub
commit 2de434c3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@
"prosemirror-schema-basic": "^1.1.2",
"prosemirror-schema-list": "^1.1.4",
"prosemirror-state": "^1.3.3",
"prosemirror-view": "^1.18.2",
"prosemirror-view": "^1.18.1",
"tinycolor2": "^1.4.2",
"vue": "^3.0.0",
"vuedraggable": "^4.0.1",

View File

@ -5,6 +5,8 @@
border: 0;
font-size: 20px;
word-break: break-word;
// safari取消继承 issue #7
user-select: text;
::selection {
background-color: rgba(#d14424, 0.3);