You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
layout | title | title_nav | description | keywords | controls |
---|---|---|---|---|---|
default | Visual Blocks plugin | Visual Blocks | Allows a user to see block level elements such as paragraphs. | visualblocks wysiwyg hidden view visualblocks_default_state | toolbar button, menu item |
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.
It's worth noting that at present the toolbar button icon is the same for both visualblocks
and visualchars
.
Type: String
Example
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "visualblocks",
menubar: "view",
toolbar: "visualblocks"
});
Options
This setting affects the execution of the visualblocks
plugin. You may specify whether blocks are visible by default here.
visualblocks_default_state
This option enables you to specify the default state of the Visual Blocks plugin.
Type: Boolean
Default Value: false
Possible Values: true
, false
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "visualblocks",
menubar: "view",
toolbar: "visualblocks",
visualblocks_default_state: true
});