Closed (fixed)
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 22:51 UTC
Updated:
20 Jan 2011 at 00:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
twodSome of these are pretty obvious but included for sake of completeness.
Suggestions?
Comment #2
sunI don't think this should hold up the release, but of course, we can commit anything that's ready.
From the listed sections, only basics and purpose should be documented for now. A brief sentence about audience/powers/limitations may be added, but I wouldn't want to "officially formalize" this hook's usage yet, as it's poor workaround for our API/feature limitations.
Comment #3
scarvajal commentedThere is a way to know wich wysiwyg profile or input format is active inside this hook?
I'm trying to override Ckeditor toolbars here to circunvent the icons group limitation (no wrap).
Thanks.
Comment #4
twodYes, the strings
$context['profile']->formatand$context['profile']->editorshould have that information.The profile object is the same one as retrieved from wysiwyg_profile_load($format).
EDIT: Fixed syntax, thanks!
Comment #5
scarvajal commentedThanks TwoD!
Is $context['profile']->format, is not ?
Comment #6
sunCouldn't think of simple example code, so I left the function body empty.
Comment #7
twodHow about this?
I added the comments to avoid questions about why something like this won't work:
(Taken from the CKEditor config docs.)
Comment #8
sunThanks for reporting, reviewing, and testing! Committed with minor adjustments to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.