GT Editor Site Administrator Documentation [Drupal 7]

GT Editor Site Administrator Documentation [Drupal 7] root
Drupal Version
Tags

The Georgia Tech GT Editor module for Drupal 7 is built around CKEditor, but provides a great deal more control over what content editors can create, preventing them from doing things that might be dangerous (embedding JavaScript, for example.)

This is a community supported project, meaning it is not officially supported by OIT or Institute Communications.


GT Editor Guides and Tutorials

Unhiding the CKEditor Text Format Selector [Drupal 7]

Unhiding the CKEditor Text Format Selector [Drupal 7] afrank30
Drupal Version

CKEditor normally shows a Text format drop-down selector just below the editing window, but the GT Editor hides this selector to streamline the editing experience.  However, there can be cases where you want to use other Drupal text formats for special cases (e.g. embedding a Twitter or Facebook feed).

The GT Subtheme has CSS code that hides the drop-down, which you can find at sites/all/themes/gt_subtheme/css/gt_subtheme.css.  The lines that hide the text format dropdown box are:


        div.form-item-log,
	.preview h3,
	.preview .node-teaser,
	body.page-admin-structure-block-add .form-item-regions-seven,
	body.page-admin-structure-block-manage-block .form-item-regions-seven,
	fieldset#edit-body-und-0-format,
	fieldset#edit-field-body-1-und-0-format,
	fieldset#edit-field-body-2-und-0-format,
	fieldset#edit-field-body-3-und-0-format
	{
	   display: none;
	}

Changing the Default Format Without Displaying the Text Format Selector

If you have created your own text format and want your editors to use it instead of the "basic text editor" format, you should change the order of the text formats so that yours is first/on top at admin/config/content/formats.