Fixed spaces not rendered in FF issue
This commit is contained in:
parent
d7df229927
commit
f1248435ba
@ -46,6 +46,11 @@ body {
|
|||||||
color: rgb(212 212 212 / var(--tw-text-opacity));
|
color: rgb(212 212 212 / var(--tw-text-opacity));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ProseMirror * {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
[contenteditable]:focus {
|
[contenteditable]:focus {
|
||||||
outline: 0px solid transparent;
|
outline: 0px solid transparent;
|
||||||
}
|
}
|
@ -25,6 +25,9 @@ export function getEditorConfig({placeholder, autofocus = false, content = ''})
|
|||||||
attributes: {
|
attributes: {
|
||||||
class: `gh-comment-content focus:outline-0`
|
class: `gh-comment-content focus:outline-0`
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
parseOptions: {
|
||||||
|
preserveWhitespace: 'full'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user