Hi all,
I wanna load some html code on page_load in editor for example :"<P align=justify><FONT face='B Zar,Zar' size=4></FONT></P>" because my users should type letter in this format(user choose formats ) for example : "<P align=justify><FONT face='B Zar,Zar' size=4>It's a test</FONT></P>" . For doing this I put this code in page_load :
MyEditor.Text = "<P align=justify><FONT face='B Zar,Zar' size=4></FONT></P>"
but when page loaded this html code will disappear and doesn't load !!!
What can I do now ?
I wanna load some html code on page_load in editor for example :"<P align=justify><FONT face='B Zar,Zar' size=4></FONT></P>" because my users should type letter in this format(user choose formats ) for example : "<P align=justify><FONT face='B Zar,Zar' size=4>It's a test</FONT></P>" . For doing this I put this code in page_load :
MyEditor.Text = "<P align=justify><FONT face='B Zar,Zar' size=4></FONT></P>"
but when page loaded this html code will disappear and doesn't load !!!
What can I do now ?
Re: Having problem with loading html in ck editor.net
Re: Having problem with loading html in ck editor.net
<P align=justify><FONT face='B Zar,Zar' size=4> </FONT></P>
why ? how can I solve it ?
Re: Having problem with loading html in ck editor.net
Try ignoreEmptyParagraph
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+