DS Server

Javascript: TXTextControl.SaveSettings.cssSaveMode Property

Property|Introduced in 28.0

Description

HTML only. Specifies how to save stylesheet data with an HTML document.

Syntax

<SaveSettings.CssSaveMode> TXTextControl.SaveSettings.cssSaveMode

Examples

The following example demonstrates TXTextControl.SaveSettings.cssSaveMode in a practical document-editing workflow. HTML only. Specifies how to save stylesheet data with an HTML document.

function inspectCssSaveMode(saveSettings) {
    const cssSaveMode = saveSettings.cssSaveMode;
    console.log("css save mode:", cssSaveMode);
}