Helo
I want to appear in the HTML editor come from a database. I do so
results in FCK editor: Marcin This is well.
But I have variable $tekst="<b>Marcin</b>"
and if I will substitute her:
Effect : <b>Marcin</b> Why? How to make to result be bold in texteditor ?
I want to appear in the HTML editor come from a database. I do so
require_once('/fckeditor/fckeditor.php'); $FCKeditor = new FCKeditor('nom1'); $FCKeditor->BasePath = '/fckeditor/'; $FCKeditor->Value = '<b>Marcin</b>'; $FCKeditor->Create();
results in FCK editor: Marcin This is well.
But I have variable $tekst="<b>Marcin</b>"
and if I will substitute her:
... $FCKeditor->Value = $tekst; ...
Effect : <b>Marcin</b> Why? How to make to result be bold in texteditor ?
Re: How insert code in the HTML editor FCK
I don't know that I particularly like the way the PHP code sets up the editor; it doesn't use the "regular" JavaScript functions to do the creation, but rather sets up the editor area "by hand". But it is what it is...