What is the idea of implementing the 'preview' function when publishing an article in the cms background?

Source: Internet
Author: User
What is the idea of implementing the 'preview' function when publishing an article in the cms background? How do you implement it? What is the idea of implementing the 'preview' function when publishing an article in the cms background, how can we implement and communicate with each other?

Reply content:

What is the idea of implementing the 'preview' function when publishing an article in the cms background? How can we implement and communicate with each other?

Some rich text editors provide the preview function, but in fact this preview is very different from the foreground effect, and some open-source products provide better and more realistic implementations, such as wordpress and durpal.
The reason for the wide-Text Editor's preview deviation is the css setting. At the same time, we can see that these better and more authentic open-source products can find a common feature, that is, the draft function, therefore, we can think of such an idea.

The document needs to be saved before previewing to make it a "persistent" data, and then load the front-end css in a specific container (such as iframe, then, the content of the article is displayed to see the final effect of the article displayed on the front end.

Although it is easy to say, it is not easy to do, and too many details need to be processed.

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.