As part of the {productname} 6.3 release, the {pluginname} plugin includes a new option, advcode_inline, that allows users to open the Enhanced Code Editor within {productname}’s existing editor space instead of being displayed in a separate dialog box.
Type: Boolean
Possible values: true, false
Default value: false
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'advcode',
advcode_inline: true,
toolbar: 'code',
});As part of the {productname} 7.3 release, the {pluginname} plugin includes a new option, advcode_prettify_getcontent, which is set to false by default.
When this option is set to true it will format the HTML code when editor.getContent is called.
This is equivalent to retrieving formatted content by calling tinymce.activeEditor.getContent({ prettify: true }), regardless of the option’s status.
Type: Boolean
Default value: false
Possible values: true, false
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'advcode',
advcode_prettify_getcontent: true,
toolbar: 'code',
});|
Important
|
If existing HTML content in the database is not well-formatted or has inconsistent indentation, enabling this option may change the formatting of previously saved content which may be undesirable in some cases. |
As part of the {productname} 7.3 release, the {pluginname} plugin includes a new option, advcode_prettify_editor, which is set to true by default.
By default, any code rendered inside Enhanced Coded Editor will be formatted with correct indentation.
Type: Boolean
Default value: true
Possible values: true, false