trsteel88 / TrsteelCkeditorBundle

Symfony2 bundle for easy integration of the CKEditor WYSIWYG
97 stars 59 forks source link

Configuration for plug-ins #111

Closed AdamReece-WebBox closed 1 year ago

AdamReece-WebBox commented 4 years ago

Is it possible to provide configuration options for plug-ins?

For example the YouTube plug-in has many configurable defaults for video insertion. I'd like to have the responsive width enabled by default.

If not I would suggest this feature be implemented by allowing for a flexible "config" node alongside the "path" and "file" nodes of "external_plugins" children. For example:

external_plugins:
    youtube:
        path:   js/ckeditor/plugins/youtube
        config:
            youtube_responsive: true
trsteel88 commented 4 years ago

I usually load a custom config.js through custom_config and then customise the options within there.