Skip to content

Commit

Permalink
fix: readonly shares should not seem editable
Browse files Browse the repository at this point in the history
fixes #2769

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud authored and vinicius73 committed Sep 28, 2022
1 parent 8a0281f commit ceb31ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ div.ProseMirror {
-webkit-user-select: text;
user-select: text;
font-size: 14px;
}

&[contenteditable=true],
[contenteditable=true] {
* {
-webkit-user-modify: read-write-plaintext-only;
}
Expand Down

0 comments on commit ceb31ba

Please sign in to comment.