Toggles 'preview mode' and 'edit mode'.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'togglePreview' preview toggling API. |
Example:
editor.execCommand('togglePreview');
Toggles 'preview mode' and 'edit mode'.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'togglePreview' preview toggling API. |
Example:
editor.execCommand('togglePreview');