joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.74k stars 3.64k forks source link

TinyMce External Plugins #39668

Open brianteeman opened 1 year ago

brianteeman commented 1 year ago

25734 added additional TinyMCE 5 configuration option for "external_plugins"

image

Expected behaviour

Plugin name: name Path: /path/to/folder

Required behaviour

Path: /path/to/folder/plugin.min.js

Expected behaviour

plugin.min.js is loaded with the editor plugin.js is loaded with the editor when joomla is in debug mode

Actual behaviour

plugin.min.js is loaded with the editor plugin.min.js is loaded with the editor when joomla is in debug mode

How to replicate

To make it easy to replicate I created a tinymce plugin and wrapped it in a joomla installer available from https://github.com/brianteeman/slashtools/archive/refs/tags/1.0.0.zip

Installation instructions https://github.com/brianteeman/slashtools

joomlaphp commented 1 year ago

Hi, I applied it and it is very useful, thank you very much Best Regards

mariantanase commented 1 year ago

Hi Brian, I understood the installation and configuration of the plugin but can you additionally provide a small guide on how to use it ? Thanks

brianteeman commented 1 year ago

The purpose of me mentioning the plugin was simply to enable people to confirm the reported bug. There is a video on the plugin page showing how to use it