mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fixed spaces not rendered in FF issue
This commit is contained in:
parent
d7df229927
commit
f1248435ba
2 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,11 @@ body {
|
|||
color: rgb(212 212 212 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.ProseMirror * {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
[contenteditable]:focus {
|
||||
outline: 0px solid transparent;
|
||||
}
|
|
@ -25,6 +25,9 @@ export function getEditorConfig({placeholder, autofocus = false, content = ''})
|
|||
attributes: {
|
||||
class: `gh-comment-content focus:outline-0`
|
||||
}
|
||||
},
|
||||
parseOptions: {
|
||||
preserveWhitespace: 'full'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue