Questions about Ueditor getting the default style of input content

Source: Internet
Author: User
I want to add a style to the input content during Ueditor initialization. initialStyle is configured but not easy to use, but the style is displayed, however, the content I get in the Action is only & lt; p & gt; xxxx & lt;/p & gt; no style is added at all. I would like to ask, how can I use this? how can I get the default style of the input content for Ueditor when selecting the font and font size?
I want to add a style to the input content during Ueditor initialization. initialStyle is configured but not useful, but the style is displayed, but what I get in the Action is only

Xxxx

I have not added a style at all. I would like to ask how to use this item and how to add a specified style to the input content when selecting the font and font size, in addition, the style can be stored in the database. I investigated that when using this attribute, the editor loads the style into the reference css of the body, only when the selected content changes the font and font size

Label. How can I add a specified default content during initialization? Have you ever used it? please let me know. Thank you.
Share To: xxxx

There is no... 'data-pics = ''>
------ Solution --------------------
You also encountered the same problem! Solution

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.