Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.1
Component:
Editor - FCKeditor
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 May 2010 at 18:56 UTC
Updated:
2 Nov 2013 at 00:30 UTC
Jump to comment: Most recent
Comments
Comment #1
twodWe'll have a GUI for this when #313497: Allow configuration of advanced editor settings gets fixed.
Until then, you can use an implementation of hook_wysiwyg_editor_settings_alter() to override these settings in a small module of your own.
Otherwise, the settings made in the config file are overridden by Wysiwyg module. (In the end, we want to avoid having to modify files when setting up editors.)
There are some examples of using the hook in the issue mentioned above, and some more in the issue queue.
Something like this should work (where 'custom' is your module name):
EDIT: Fixed typo.
Comment #3
Nick Robillard commentedFyi, for FCKeditor, the settings keys need to be capitalized.
$settings['EnterMode']rather than$settings['enterMode'](will not work!)