react-rte
react-rte copied to clipboard
Code Block not working as expected
Inserting a code block isn't working as expected. To illustrate, go to:
- got to: https://react-rte.org/demo
- pick "Code Block" from the styles dropdown.
- try to paste some code into the code block.
For me this results a bunch of paragraph html elements.
See attached screen shot.

It doesn't look like codeblocks are supported. Only inline code
Can verify that "code blocks" just go line by line and create inline code, which does not seem to be the behavior one would expect for code block since it exists separately from the inline code style button. Seems like instead it should wrap in ```s.