Replaced pre-wrap with break-spaces

This commit is contained in:
harshit078 2024-09-08 16:09:47 +05:30
parent cf2067906f
commit 8cc5810dcb

View File

@ -15,7 +15,7 @@ export const NodeViewContent: Component = {
render(this: NodeViewContentInterface, createElement: CreateElement) {
return createElement(this.as, {
style: {
whiteSpace: 'pre-wrap',
whiteSpace: 'break-spaces',
},
attrs: {
'data-node-view-content': '',