Visual Characters plugin
优质
小牛编辑
124浏览
2023-12-01
This plugin adds the ability to see invisible characters like
displayed in the editable area. It also adds a toolbar control and a menu item Show invisible characters
under the View
menu.
It’s worth noting that at present the toolbar button icon is the same for both Visual Blocks and Visual Characters plugins.
Type: String
Example
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "visualchars",
menubar: "view",
toolbar: "visualchars"
});
Options
This setting affects the execution of the visualchars
plugin. Characters can be configured to be visible by default using this option.
visualchars_default_state
This option enables specifying 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 the HTML
plugins: "visualchars",
menubar: "view",
toolbar: "visualchars",
visualchars_default_state: true
});