Hi Everybody,
I am using fckeditor 2.6.6. I have configured default font setting from fck_editorarea.php file like given below:-
When I saved the text of editor in database, it will store in database like:-body, td
{
font-family: Arial, Verdana, sans-serif;
font-size: 12px;
color:#009;
}
So when the text is displayed in a page data taken from database, it will not use the font setting done in editor.<p>hello me</p>
<p> </p>
But when some text in formatted in editor by selecting text which to be formatted and saved in database then it will save like:-
And when it will displayed in a page, it will display as we formatted.<p><span style="font-size: xx-large; "> safs</span></p>
So I would like to know, how can I configure so that I could save default font setting done in editor to the database without formatting in editor.



Reply With Quote
Bookmarks