About CKEditor can't show what I read in the database

Source: Internet
Author: User
I want to show what I read in the database in CKEditor, but the load CKEditor editor failed, chrome error: uncaught typeerror:cannot call method ' equals ' of undefined. But if I didn't have to display the content, it would be successful to load the editor directly, what's going on?


Reply to discussion (solution)

On the Code
Low level, Can't guess ~ ~

On the Code
Low level, Can't guess ~ ~

    {$vo. Content} *

Here is what I read from the database, which is passed into the database through CKEditor editing.

21212

213131312121121212321

  1. 232123213

Enter some simple characters into the library and read whether normal, if normal, may be the problem of input content, CKEditor editor seems to have been the content of the HTML tag to do the processing, storage when you do not need to do the processing.

If the input simple character inbound read also error, see if it is ckeditor configuration problems.

Enter some simple characters into the library and read whether normal, if normal, may be the problem of input content, CKEditor editor seems to have been the content of the HTML tag to do the processing, storage when you do not need to do the processing.

If the input simple character inbound read also error, see if it is ckeditor configuration problems.
???? The capacity of the inside?
Htmlspecialchars ($,ent_quotes, ' UTF-8 ')//?? HTML??, and Chinese not??
Htmlspecialchars_decode ($,ent_quotes)//html?? Reverse??
?? Just a little bit.

To see if there is a problem with the editor configuration, it is no problem to show the data as you do.

  • 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.