react-code-blocks icon indicating copy to clipboard operation
react-code-blocks copied to clipboard

wrapLines & wrapLongLines Not working.

Open jaypatankar opened this issue 1 year ago • 3 comments

I've observed an issue regarding the wrapping of content to the next line, tried by using both wrapLines & wrapLongLines but it didn't solved that. What I found: The Span inside the CodeBlock div have a property (white-space: pre;) which is not updating to (white-space: normal;).

jaypatankar avatar Mar 09 '23 19:03 jaypatankar

+1

mitanshu-patel23 avatar Apr 14 '23 05:04 mitanshu-patel23

I believe these work, but are not compatible with showLineNumbers — can you confirm?

thomasmost avatar Jul 26 '23 20:07 thomasmost

It doesn't seem to be working as far I can see, I can't find it in the props.

chapeee avatar Apr 16 '24 14:04 chapeee