When installing a new Drupal WetKit distribution, by default there are only certain CKEditor button controls provided. Not all buttons are exposed to content authors. My question is, what is the recommended way to go about providing new capabilities to content authors? I want a solution that will both (a) be user-friendly, and (b) produce WCAG compliant HTML.
Question 1: Is this setup this way because they are not WCAG compliant, OR is it simply that they are not activated?
Here is a simple example:
Out-of-the-box, there is no "center/left/right align" buttons exposed on the CKEditor toolbar by default. However, most content authors will want the ability to horizontally align text.
Question 2: What is the recommended way to activate this in the CKEditor?
I see two options in (/admin/config/content/wysiwyg/profile/wetkit_wysiwyg_text/edit):
1 - Turn ON the CKEditor alignment buttons, OR
2 - Add new styles to the Styles list?
I was pointed to these documentation pages:
http://wet-boew.github.io/wet-boew/demos/grids/grid-module-en.html
http://wet-boew.github.io/wet-boew/demos/grids/grid-position-en.html
But, I'd rather not code anything if option 1 above works and produces WCAG compliant HTML.
Thanks!
Comments
Comment #1
jayson commentedComment #2
sylus commentedI have added the block format to the toolbar and float-left and float-right support to the styles drop down. I am not sure why the toolbar is not rendering the alignment button but this might be intentional by wysiwyg.
Will look at this more closely for next release.
Commit: http://drupalcode.org/project/wetkit_wysiwyg.git/commit/5afb762
Comment #3
sylus commentedGoing to close this issue as it closely relates to:
#2219805: Customize our CKEditor build (Community)