mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 23:55:49 +01:00
prevent text unselectable block selection
This commit is contained in:
parent
9751f5791a
commit
4d5bb8ae9c
1 changed files with 2 additions and 2 deletions
|
|
@ -89,8 +89,8 @@
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
&--unselectable {
|
||||
user-select: none;
|
||||
&--unselectable [contenteditable] {
|
||||
border: 1px solid red;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue