Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.19 KB

File metadata and controls

38 lines (25 loc) · 1.19 KB

Visual Blocks plugin

This plugin allows a user to see block level elements in the editable area. It is similar to WYSIWYG hidden character functionality, but at block level. It also adds a toolbar button and a menu item Show blocks under the View menu dropdown.

Basic setup

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  plugins: 'visualblocks',
  toolbar: 'visualblocks'
});

Options

This setting affects the execution of the visualblocks plugin. You may specify whether blocks are visible by default here.

Commands

The Visual Blocks plugin provides the following {productname} command.