Skip to content

Editing HTML inside Drupal

eob edited this page Dec 17, 2012 · 2 revisions

Drupal does not provide a good environment for authoring Exhibit HTML for technical and workflow reasons.

Using Github Gists as an HTML Editor

Using Github Gists provides an easy, web-accessible, version-controlled way to edit and save HTML fragments. For Exhibit-powered pages, just edit and save the page in a Gist. When you make changes, paste them into the Drupal editor.

If you really want to try HTML editing in Drupal

  • Navigate to Home » Administration » Configuration » Content authoring » Wysiwyg profiles
  • Edit the Full HTML settings.
  • Under Cleanup and Output, disable "Remove Linebreaks"
  • Under Cleanup and Output, disable "Apply source formatting"

Clone this wiki locally