Skip to content

Commit

Permalink
fix(prosemirror-model): multiple versions of prosemirror-model, fixed #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mekery committed Aug 22, 2020
1 parent c693fac commit a293fd1
Show file tree
Hide file tree
Showing 4 changed files with 3,093 additions and 2,836 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"last 1 version, not dead, ie >= 11"
],
"resolutions": {
"@babel/parser": "7.7.5"
"@babel/parser": "7.7.5",
"prosemirror-model": "1.9.1"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/components/views/OImageView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ export default {
.o-image-view {
position relative
display inline-block
white-space nowrap
.o-toolbar {
position absolute
Expand Down
8 changes: 4 additions & 4 deletions src/css/tiptap.styl
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
outline none
}

.ProseMirror {
white-space unset
}

blockquote,
h1,
h2,
Expand Down Expand Up @@ -220,6 +216,10 @@
word-wrap: break-word;
word-break: break-word;
padding 1rem

.ProseMirror {
white-space pre-wrap
}
}

.editor__content * {
Expand Down

0 comments on commit a293fd1

Please sign in to comment.