Adds support for inline code blocks in CKEditor.
Installation
This module requires the core CKEditor module and the CodeTag plugin from CKEditor.com.
- Download the CodeTag plugin from http://ckeditor.com/addon/codeTag
- Place the plugin folder in the root libraries folder (/libraries/codetag).
- Enable CodeTag in the Drupal admin.
- Configure your WYSIWYG toolbar to include the button.
Basic Usage
Drag the CodeTag button into the active toolbar. There is no configuration; the button should appear in your editor after you save the changes.
Note that your filter format must support the use of the code tag under allowed tags as well, if using anything other than Full HTML.
Syntax Highlighting?
If you're looking for syntax highlighting, you may want to use the CodeSnippet module.
Supporting organizations:
Supporting Development
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content editing experience, Developer tools
93 sites report using this module
- Created by kevinquillen on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.3
released 22 September 2022
Works with Drupal: ^8 || ^9 || ^10
Drupal 10 support
Install:
Development version: 8.x-1.x-dev updated 1 Jun 2024 at 16:13 UTC


