One elegant way could be by first creating a CKEditor plugin, and then loading the plugin into the IvoryCKEditorBundle:
# app/config/config.yml
ivory_ck_editor:
default_config: my_config
configs:
my_config:
extraPlugins: "mycustomplugin"
plugins:
mycustomplugin:
path: "/bundles/mybundle/mycustomplugin/"
filename: "plugin.js"
the plugin folder (in my example mycustomplugin
) should be placed under the Resources/public
folder of the bundle source (e.g. src/MyBundleName/Resources/pubic
).
Edit: also, be aware that if you need to install more than one plugin, the extraPlugins list should be separated by comma without space, like:
extraPlugins: "mycustomplugin1,mycustomplugin2,mycustomplugin3"