Postponed
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 13:14 UTC
Updated:
12 Jul 2012 at 07:55 UTC
Hi,
I'm not sure my request could be done without first modifying core CKEditor, but I'm sure it's worthwhile.
Rather then hacking the core config.js (as in config.templates_files = [ '/mytemplates.js' ];) when trying to add my custom templates, I would welcome some kind of a hook (ckeditor_config_alter?) where my module could jump in and install its own templates and icons. This would be the Drupal way of extending functionality. Please.
Comments
Comment #1
mkesicki commentedThank you for noticing that.
Please remember that you can use "Custom JavaScript configuration " option in "Advanced options" in CKEditor profile configuration to set this setting.
We will consider your 'voice' in future.
Comment #2
moniuch commentedWell, thanks for pointing this custom thingy - this must have slipped through my eye. However providing hooks would be definitely a clean way, as it would allow authors to treat custom templates as an installable/uninstallable feature. Dzięki!