Skip to content

Commit

Permalink
fix: add missing ProseMirror styles
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Aug 20, 2021
1 parent 17c33e0 commit 12602e7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ const style = `.ProseMirror {
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
white-space: break-spaces;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
}
.ProseMirror [contenteditable="false"] {
Expand All @@ -21,6 +23,12 @@ const style = `.ProseMirror {
white-space: pre-wrap;
}
img.ProseMirror-separator {
display: inline !important;
border: none !important;
margin: 0 !important;
}
.ProseMirror-gapcursor {
display: none;
pointer-events: none;
Expand Down

0 comments on commit 12602e7

Please sign in to comment.