Non-Breaking Space
Plugin alias: nonbreaking
editor42.init({
plugins: 'nonbreaking'
});
Inserts non-breaking space characters ( ) into the editor content, either via a toolbar button or by pressing Tab (when configured). The inserted can optionally be wrapped in a <span> for visual identification and integrates with the visualchars plugin.
Options
| Option | Type | Default | Description |
|---|---|---|---|
nonbreaking_force_tab | boolean/number | false | When true (=3) or a number, Tab inserts that many instead of default tab behavior. |
nonbreaking_wrap | boolean | true | Wrap in <span class="editor42-m-nbsp-wrap">. |
Commands
| Command | Description |
|---|---|
editor42NonBreaking | Inserts a non-breaking space. |
Toolbar buttons
| Button | Type | Description |
|---|---|---|
nonbreaking | Button | Inserts a non-breaking space. |
Menu items
| Item | Description |
|---|---|
nonbreaking | Inserts a non-breaking space. |