How to read the news content edited by fckeditor into the editor again? modify-php Tutorial

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.