EnhancementsInitOptions

Interface

Options accepted by EnhancementsService.init.

Property

Type

Optional

Description

activateScripts

boolean

Yes

Runs the inline <script> elements of content inserted on the client,<br>except JSON scripts and scripts placed directly under <body>. Set false<br>when CMS HTML is rendered on the server, or its scripts run twice. Defaults<br>to the client's enhancements.activateScripts, else true.

codeBlocks

boolean

Yes

Set false to skip the code-block styles and copy buttons, when your own<br>highlighter renders code blocks. Defaults to true.