WYSIWYG Code Button

Component ID

1156890

Component name

WYSIWYG Code Button

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1749

Component created

Component changed

Component body

This module integrates with the Wysiwyg module to provide a very simple "Code" button for Wysiwyg editors (currently, CKEditor is supported) that allows user to insert preformatted code, using <pre> tags, without having to leave the editor.

Work on this module was sponsored by Acquia. The initial code is heavily based on this blog post by Nikolay Ulyanitsky and this one by Peter Petrik.