Hello.
I have two issues with using preserveWhitespace in react-quill-2 version 2.0.2.
First issue is about using this package with typescript. For some reason preserveWhitespace prop is not defined in ReactQuill.ComponentProps interface, but ReactQuill component is using this prop.
Second issue is that preserveWhitespace is not working in react-quill-2 as it worked before in react-quill version 1.3.5. It seems that react-quill-2 removes \t and \n characters and doesn't preserve whitespaces. Please look at this issue here Codesandbox.
React-Quill version
2.0.2
Unfortunately I have to use react-quill-2 because it supports tables.
Maybe there are some workarounds to fix issue?
Hello. I have two issues with using
preserveWhitespace
inreact-quill-2
version 2.0.2.preserveWhitespace
prop is not defined inReactQuill.ComponentProps
interface, butReactQuill
component is using this prop.preserveWhitespace
is not working inreact-quill-2
as it worked before inreact-quill
version 1.3.5. It seems thatreact-quill-2
removes\t
and\n
characters and doesn't preserve whitespaces. Please look at this issue here Codesandbox.React-Quill version
2.0.2
Unfortunately I have to use
react-quill-2
because it supports tables. Maybe there are some workarounds to fix issue?Thank you in advance.