SynapEditor API 3.3.0
    Preparing search index...

    Interface SynapEditorGetPublishingHtmlOptions

    Options passed to the getPublishingHtml method.

    interface SynapEditorGetPublishingHtmlOptions {
        codeBlockPublishingStyle?: boolean;
        contentPadding?: "document" | "none";
        contentWidth?: boolean;
        emojiEscapes?: boolean;
        maintainId?: boolean;
        selector?: string;
        specialCharacterEscapes?: boolean;
        wrap?: boolean;
    }
    Index

    Properties

    codeBlockPublishingStyle?: boolean

    If true, applies publishing styles to code blocks.

    contentPadding?: "document" | "none"

    Content padding mode. 'document': based on document, 'none': no padding.

    contentWidth?: boolean

    If true, sets the content width.

    emojiEscapes?: boolean

    If true, escapes emojis.

    maintainId?: boolean

    If true, preserves element IDs.

    selector?: string

    A CSS selector to extract a specific area only.

    specialCharacterEscapes?: boolean

    If true, escapes special characters.

    wrap?: boolean

    If true, wraps the HTML with an <html> tag.