Rich text editor tinymce support copy and paste text and images to retain the plug from the word wordpaster

tinymce is a very good rich text editor, you can download Quguan network. https://www.tiny.cloud

Here is a sharing charge plug powerpaste its official website an old version of the source code, but does not affect the function uses.

http://blog.ncmem.com/wordpress/2019/10/12/%e5%af%8c%e6%96%87%e6%9c%ac%e7%bc%96%e8%be%91%e5%99%a8tinymce%e6%94%af%e6%8c%81%e4%bb%8eword%e5%a4%8d%e5%88%b6%e7%b2%98%e8%b4%b4%e4%bf%9d%e7%95%99%e6%a0%bc%e5%bc%8f%e5%92%8c%e5%9b%be%e7%89%87%e7%9a%84/

Vue an example to illustrate:

After tinymce downloaded into static directory, do not npm install.

powerpaste into \ static \ tinymce \ plugins directory

Tinymce.min.js introduced in the index.html.

FIG Code parameters:

The plugins parameter in the paste replace powerpaste, completed.

Final results, it can automatically upload all the pictures in the word

After the image upload, image editor, which addresses all the pictures into the address of the server,

Guess you like

Origin www.cnblogs.com/songsu/p/11671925.html