There no out-of-the-box solution, but there editor allows you to create you own function with a plugin. If you do this, name the function 'CustomCleanWord' and put it on the editorInstance/FCK object, then the editor will use it over the default 'CleanWord' function (see why in file 'fckeditor\editor\dialog\fck_paste.html' line 121). You can base your function on the existing 'CleanWord' function, which can be found in file 'fckeditor\editor\dialog\fck_paste.html' line 185.
Re: remove html code
http://docs.fckeditor.net/FCKeditor_2.x ... sPlainText
Re: remove html code
I'm having the same problem.
But i'm implementing FCK this way:
<?
$oFCKeditor = new FCKeditor('evidence') ;
$oFCKeditor->Height = '200';
$oFCKeditor->Width = '420';
$oFCKeditor->ToolbarSet = 'Custom_2';
$oFCKeditor->BasePath = '/admin/fckeditor/';
$oFCKeditor->Value = $evidence;
$oFCKeditor->Create() ;
?>
How can I set the ForcePasteAsPlainText value if working this way?
Thanks,
Mark.
Re: remove html code
http://docs.fckeditor.net/FCKeditor_2.x ... on_Options
Re: remove html code
Re: remove html code
There no out-of-the-box solution, but there editor allows you to create you own function with a plugin. If you do this, name the function 'CustomCleanWord' and put it on the editorInstance/FCK object, then the editor will use it over the default 'CleanWord' function (see why in file 'fckeditor\editor\dialog\fck_paste.html' line 121). You can base your function on the existing 'CleanWord' function, which can be found in file 'fckeditor\editor\dialog\fck_paste.html' line 185.
Paul
Re: remove html code
Re: remove html code
Re: remove html code