php - CKeditor changing font format automatically -


if write (example test1 , test2)in ckeditor, , retrive it, font displayed following format applied bold.

test1

test2

by removing format (clear format), cleared. why happen? why ckeditor adds formatting on own

<div><p style="font-size: 13px;"><u><strong> test 1</strong></u></p>  <p style="font-size: 13px;">blah blah blah</p>  <u style="line-height: 1.6em;"><strong>test 2</strong></u>  <p>blah blah blah</p> 

i added bold style.the font size 13 px not added me.ckeditor automatically adds it. there way remove auto formatting ckeditor?

my default font 18px. why did ckeditor added font-size:13px puzzling me

if default font 18 px pasted text of 13px appear small , if default font size 10 px pasted text appear big.

so best option change default font size in ckeditor contents.css . located in ckeditor folder.

 .cke_editable     {         font-size: 13px;         line-height: 1.6em;     } 

change font-size default font size.

 .cke_editable     {         font-size: 18px;         line-height: 1.6em;     } 

so font default set 18 px.


Comments