Open bonafideduck opened 1 year ago
Pasting already formatted HTML will preserve the html's formatting. For example, open the demo page, copy the function in the sample code and paste it in. The bold is preserved. All formatting should be stripped before adding it. This is a textarea.
The solution is to set the stripPastedStyles on the Editor component.
Pasting already formatted HTML will preserve the html's formatting. For example, open the demo page, copy the function in the sample code and paste it in. The bold is preserved. All formatting should be stripped before adding it. This is a textarea.