Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review and Test prior to publicizing project #17

Open
4 tasks
mwaddell opened this issue Dec 11, 2023 · 2 comments
Open
4 tasks

Review and Test prior to publicizing project #17

mwaddell opened this issue Dec 11, 2023 · 2 comments
Assignees

Comments

@mwaddell
Copy link
Member

mwaddell commented Dec 11, 2023

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:

  • Review the README.md to make sure it reads clearly and all the links are valid.
  • Find/Create a Word Document whose contents can be used for testing this plugin (e.g. it pastes wrong in TinyMCE 6.x without this plugin but works with the plugin - all other settings being the same.)
    • Note: the easiest way to test this is with nested numbered/bulleted lists. Without the paste_from_word plugin, they paste as plain styled text, but with the paste_from_word plugin, they paste as actual bullet/numbered lists so you can easily modify them after pasting.
  • Test each of the 3 usage options in the README to make sure they work correctly and I didn't leave any details out (test them using the word document noted above)
  • Review the other files in this repo to make sure I didn't miss anything we should add/include.
@jfbelanger-rruq
Copy link

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
Copy link

byte-belle commented Feb 20, 2024

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants