CKEditor: Configuration of extraPlugins is overwritten
If you add an extra plugin and configure it in the section
editor: config: <pluginname>: <pluginoption>:
the configuration of the plugin in a preset is not taken into account.
Reason is that currently the configuration of the plugin overwrites the values of the output of "prepareConfigurationForEditor".
Solution is to check, whether there are values in both array. If so merge or overwrite the configuration for the editor, depending on the combination.
I will provide a patch and a extension on github to test it.
#3 Updated by Marcus Schwemer 9 months ago
You can find the example plugin to experiment with here:
#4 Updated by Marcus Schwemer 9 months ago
- Subject changed from Configuration of extraPlugins is overwritten to CKEditor: Configuration of extraPlugins is overwritten
- Category set to RTE (rtehtmlarea + ckeditor)
Here is the extension for testing: https://github.com/mschwemer/rte_ckeditor_wordcount