Trilium Frontend API
    Preparing search index...

    Interface PoweredByConfig

    The “Powered by CKEditor” logo configuration options.

    interface PoweredByConfig {
        forceVisible?: boolean;
        horizontalOffset?: number;
        label?: string;
        position?: "inside" | "border";
        side?: "left" | "right";
        verticalOffset?: number;
    }
    Index

    Properties

    forceVisible?: boolean

    Allows to show the logo even if the valid commercial license is configured using the module:core/editor/editorconfig~EditorConfig#licenseKey config.licenseKey setting.

    false
    
    horizontalOffset?: number

    The horizontal distance between the side of the editing root and the nearest side of the logo.

    5
    
    label?: string

    Allows changing the label displayed next to the CKEditor logo.

    Note: Set the value to null to hide the label.

    'Powered by'
    
    position?: "inside" | "border"

    The position of the project's logo.

    • When 'inside', the logo will be displayed within the boundaries of the editing area.
    • When 'border', the logo will be displayed over the bottom border of the editing area.
    'border'
    
    side?: "left" | "right"

    Allows choosing the side of the editing area where the logo will be displayed.

    Note: If module:core/editor/editorconfig~EditorConfig#language config.language is set to an RTL (right-to-left) language, the side switches to 'left' by default.

    'right'
    
    verticalOffset?: number

    The vertical distance the logo can be moved away from its default position.

    Note: If position is 'border', the offset is measured from the (vertical) center of the logo.

    5