pangaeatech / tinymce-paste-from-word-plugin

TinyMCE 6.x Plugin to add support for pasting from Microsoft Word documents
GNU Lesser General Public License v2.1
5 stars 2 forks source link

Review and Test prior to publicizing project #17

Open mwaddell opened 6 months ago

mwaddell commented 6 months ago

I pulled the "Paste from Word" functionality out of the 5.x branch of TinyMCE and dumped it (virtually unchanged other than stripping out all the extraneous stuff and updating it to be compatible with 6.x) into this project and published it as 2 different packages to NPM.

I created a README explaining the 3 different ways to use the plugin and the different settings that impact its usage.

Before I reach out to the TinyMCE group to let them know we're willing to maintain this, I want someone (other than me) to do the following:

jfbelanger-rruq commented 5 months ago

I used your plugin in Umbraco CMS (they upgraded from TinyMCE 4 to 6 in the last release Umbraco 13... so Word paste where less than optimal)

The readme file is good, every is clear and every link works as expected.

I used only the Option 2, local hosting, placed the file in "umbraco\lib\tinymce\plugins\paste_from_word" and added the config in the Umbraco appsettings.json: "Umbraco": { "CMS": { "RichTextEditor": { "Plugins": ["paste_from_word"], "paste_webkit_styles": "all", "paste_remove_styles_if_webkit": false,
},
It work great, pasted a few word document with formating and list and it works as it used to in Umbraco 8.

(Added the step to configure the plugin in Umbraco to help those who will find your repo, when searching for why this don't work anymore in Umbraco)

Thanks

byte-belle commented 4 months ago

I'm using your plugin for a self-hosted TinyMCE Implementation. Our application is java based and so we're using a webjar to include the TinyMCE dependency so popping the plugin into the plugins directory wasn't possible. We have an external plugins directory where I dropped the plugin js and in the tinymce init options used.

... external_plugins: { 'paste_from_word': 'http://baseurl.com/pathto/pluginfile.min.js' }, paste_webkit_styles: "all", paste_remove_styles_if_webkit: false, ...

Working great! Thank you!!