Posted by pmetras on April 29, 2008 at 1:11pm
2 followers
Jump to:
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 5.x-2.1-beta |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
I need to set up a profile where users (anonymous and simple authenticated ones) are offered to use the simplified toolbar everywhere but in a few specific textareas where they can use the full toolbar to format text. I've tried various combinations of Global/Default configs, with Include/Exclude but I can't find how to get it right.
As an extra difficulty, I have other FKCEditor configurations where other users categories have access to a different toolbar. So the the Global settings have to be compatible with these configurations...
Is it possible to get such a configuration?
Comments
#1
This could be achieved by a small hack. Currently the opposite thing is doable: you can force simplified toolbar on some textareas. So the trick would be to set in fckeditor.module FCKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME to full toolbar and in your FCKeditor profile choose Basic toolbar as default.
But this way all users would end up with the same full toolbar.
Another trick: try changing this in fckeditor.module
if ($force_simple_toolbar) {$toolbar = FCKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME;
}
into:
if (!$force_simple_toolbar) {$toolbar = FCKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME;
}
And then use Force simplified toolbar on the following fields in global profile to choose fields where full toolbar should appear.
#2
Probably a duplicate of #268070: Assign editor-profiles to content types.