Ueditor edit paste from the online copy down how to process (format)

Source: Internet
Author: User
To do a publishing function, but from the online copy of the article pasted into the editor, can not get the full content, because the submission of the past, the content of the original parameters will also be passed as a new parameter, I hope you are not hesitate to enlighten me, thank you.


Reply to discussion (solution)

What is the original parameter in the content of the article?

What is the original parameter in the content of the article?

is to copy the article from the Internet with a tag and then to the background when the new parameters like this

is to copy the article from the Internet with a tag and then to the background when the new parameters like this



Did you pass it through the Get method?

is to copy the article from the Internet with a tag and then to the background when the new parameters like this



Did you pass it through the Get method?

Using the Ajax Post method


is to copy the article from the Internet with a tag and then to the background when the new parameters like this



Did you pass it through the Get method?

Using the Ajax Post method

The wrong one with the jquery Ajax Post method submitted by

You can create a new. txt file to paste the online copy of the article into a. txt file and then stick it in the ueitor from the. txt file.

Post your copy from the Web, as well as the Ajax pass parameters to the service-side code for analysis.

First narrow the scope of the problem, the landlord test how to use the JQ Ajax to pass a simple with the parameter URL, if successful, to PHP did not appear the new parameters, estimated that the bottom

You can create a new. txt file to paste the online copy of the article into a. txt file and then stick it in the ueitor from the. txt file.

This test is fine, but the user doesn't have to paste it into Notepad and then paste it into the editor.

First narrow the scope of the problem, the landlord test how to use the JQ Ajax to pass a simple with the parameter URL, if successful, to PHP did not appear the new parameters, estimated that the bottom

Well tested, simple parameters are OK, but after the content passed, in the background printing, there will be a lot of new parameters, so when the content is accepted, the contents are only half, it seems to be divided

Problem solved, is directly through the form form of the action submitted, discard the use of JQ Ajax will not put the content of the article
A tag with parameters, as parameters, in the generation of new parameters, there is better JQ Ajax want to provide next, paste the source code later, thank you all

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