I am using CKEditor. When I paste data, CKEditor adds a font
element with color
and size
attributes. I want to override these and keep font-size: 11px
and font-color: #000000
.
This is Test Data to check Font color and Size
Added Font size +1
<font color="#1f497d" face="Calibri" size="3">
<font color="#000000" size="11">
Needs to override
<font color="#000000" size="11">
To set your default Font size, you need to customize the config of CKEditor, To do so, please check the link : CKEdior Default font, font-size config