Bootstrap Editor add-on for TinyMCE

The TinyMCE plugin allows evoking Bootstrap Editor directly from your editor. The plughin has two buttons - one to edit the entire content, and the other to edit just the selected block.

Also, the plugin includes plugin to enable Bootstrap (or Foundation) styles in TinyMCE.

Plugins

Common

Full-functional structure and content editor with CKEditor on board.
Helps you to attach Bootstrap styles to your document, so they will be displayed with appropriate sizes and positions defined by Bootstrap CSS.
Note: since v. 2.2.4 you must include CKEditor manually to your page template to <head> section. Example:
<script src="http://your-website.com/ckeditor/ckeditor.js"></script>

Installation

  1. Unpack archived files directly to tinymce/plugins.
  2. Turn on the plugin in initialization script:
    plugins: 'jsplusBootstrapInclude,jsplusBootstrapEditor'
  3. Add these buttons to the toolbar definition:
    • jsplusBootstrapEditor
      the button for editing whole the content within Bootstrap Editor
    See sample TinyMCE toolbar configuration manual.
  4. Now you can use your installed plugins. Do not forget to sure that browser cache was cleared.

Configuration

Optionally, you can configure the plugin for your needs. A number of parameters are available for that. Parameters are a key-value structure that's passed along with the main config of TinyMCE.

Pass the parameters as follows:


tinymce.init({
	selector: 'textarea',
	jsplusBootstrapEditor: {
		key1: "value1",
		key2: true
	}
});
		  

Explore the list of available options to see what settings are available to you.