-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug]: TinyMCE cannot be configured as documented because some plugins are missing #17058
Comments
Same problem with the same Pimcore version as above, the plugin |
Thank you for reporting! So to make it work, devs need to "copy" the official ones provided from TinyMCE that they specifically need for their projects and use this Can anybody please try it and provide a PR with examples and instructions for it? Thank you in advance |
@kingjia90 Your proposed solution worked for me. As an example (downloaded plugins placed in a bundle):
Tested on Pimcore 11.2.3 with TinyMCE 6.8.3. |
@olivermerz Thank you for letting me know, it's also nice to learn about Switching this issue from |
Pimcore version
11.2.3
Steps to reproduce
The Pimcore documentation for the TinyMCE Bundle links to the toolbar documentation page on the TinyMCE website.
Follow the instructions to include some configuration, in my case I want to use the anchor plugin, but many other plugins seem to be affected too.
Our configuration:
{ "toolbar1": "undo redo | removeformat code | link unlink | anchor", "toolbar2": "bold subscript superscript | bullist numlist", "paste_as_text": true, "plugins": [ "paste", "link", "anchor" ] }
Actual Behavior
Many plugins don't work, there will be JavaScript errors like for example:
Failed to load plugin: paste from url plugins/paste/plugin.min.js hS @ admin/misc/script-pr…ea4fe3eb8f505:12333 Failed to load plugin: anchor from url plugins/anchor/plugin.min.js hS @ admin/misc/script-pr…ea4fe3eb8f505:12333
Expected Behavior
The toolbar configuration options as described in the documentation can be used.
It seems that the TinyMCE Bundle in Pimcore does not provide all of the plugins available for TinyMCE. If that is the case there should be documentation that clearly lists all useable plugins.
Ideally there should be a description on how to add missing plugins in case the desired plugin is not part of the Pimcore Bundle.
The text was updated successfully, but these errors were encountered: