How can I completely read the news content edited by fckeditor into the editor and modify it? How can I completely read the news content edited by fckeditor into the editor and modify it? I used the fck editor when publishing information. the content cannot be displayed in the editor when I modify the information. how can I solve the problem when I set the content of oFCKeditor. Value? How does fckeditor completely read the news content edited by fckeditor into the editor and modify it?
How can I completely read the news content edited by fckeditor into the editor and modify it?
I used the fck editor when publishing information. the content cannot be displayed in the editor when I modify it. I set oFCKeditor. Value = 'content'
How can this problem be solved?
Fckeditor
------ Solution --------------------
You can publish the news and store it in the database.
------ Solution --------------------
The value you assigned to fckeditor is unsuccessful.
------ Solution --------------------
This post was last edited by xuzuning at 11:57:36
OFCKeditor. Value = 'content '???
Are you using js to assign values?
Pay attention to the following points:
1. because the content is enclosed in single quotes, the single quotes in the content must be escaped.
2. because the js string does not contain line breaks, replace the line breaks in the content with \ n, that is, add the line breaks \
3. if the content contains the textarea tag, html tag escaping is required for the content.