Is it possible to remove all the style attributes when the user paste html content into Summernote texteditor?
For Example : (Input)
<p style="font-weight:500; color:#000;">Hello World </p>
<div style="display:block"> I am a Div content </div>
Expected Output after paste:
<p>Hello World </p>
<div> I am a Div content </div>
I want to Implement something like in Javascript/Jquery
$('tag').removeAttr("style");
Is there any in-built options or feature in SummerNote text editor to do this?
Thanks In advance