CKEditor Bootstrap Buttons

Categories

Component ID

2687009

Component name

CKEditor Bootstrap Buttons

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

6114

Component created

Component changed

Component body

This module is an extension to the Drupal 8 CKEditor module.

Features

  • Ability to insert a link as a Bootstrap 3 button widget.
  • Movable between content without breaking layout.
  • All Bootstrap's styles available (btn-link, btn-default, btn-primary, btn-success, btn-warning, btn-danger).
  • All Bootstrap's sizes available (btn-xs, btn-sm, btn-lg).
  • Link target option.
  • Ability to add a left and/or right icon (Bootstrap Glyphicon, or FontAwesome).

Requirements

  • ckeditor

Installation

  1. Copy the ckeditor_bootstrap_buttons folder to your modules directory.
  2. Download the plugin from https://github.com/smonetti/btbutton.
  3. Place the plugin in the root libraries folder (/libraries).
  4. Go to admin/modules and enable the module.
  5. Go to admin/config/content/formats and configure the desired profile.
  6. Move a button into the Active toolbar.
  7. Clear your browser's cache, and a new button will appear in your toolbar.

Contributing & issue tracking

Please contribute to this plugin by forking this GitHub repo: https://github.com/smonetti/btbutton

Demo

Demo
Free CKEditor 4 Bootstrap 3 Button Widget