b********t 发帖数: 168 | 1 Hi,
I have some custom form that I need to insert to the richtext body, I
tried to add below code in submit_compose() function,
var oEditor = FCKeditorAPI.GetInstance('RichText');
oldText=oEditor.GetXHTML(true);
oEditor.SetHTML(oldText + message);
After I click submit, all the custom forms are appearing in the Richtext box
, but when I check the content of the form I just submitted, there is only
the original context in richtext box.
I do not know why the custom form show up in Richt |
|