🐛(frontend) fix break line on firefox

On firefox with collaborative mode, the last
upgrade of ProseMirror added a new line when
a another user was typing. This commit fixes this
issue.
This commit is contained in:
Anthony LC
2024-06-10 12:39:30 +02:00
committed by Anthony LC
parent 8e0850b13e
commit e7fe153a81

View File

@@ -69,6 +69,9 @@ export const BlockNoteContent = ({ pad, provider }: BlockNoteContentProps) => {
&, & > .bn-container, & .ProseMirror {
height:100%
};
& .collaboration-cursor__caret.ProseMirror-widget{
word-wrap: initial;
}
`}
>
<BlockNoteView