Sign up (with export icon)

FullscreenClassicEditorHandler

Api-class icon class

The classic editor fullscreen mode handler.

Properties

  • Chevron-right icon

    updateDialogPositionCallback : ( _evt: EventInfo, _name: string, isOpen: boolean ) => void
    inherited

    Stores a bound reference to the _updateDialogPosition method, allowing it to be attached and detached from change event.

  • Chevron-right icon

    _closeRevisionViewerCallback : null | ( viewerEditor: any ) => Promise<unknown>
    protectedinherited

    A callback that closes the revision viewer, stored to restore the original one after exiting the fullscreen mode.

  • Chevron-right icon

    _editor : ClassicEditor
    protectedreadonly

    An editor instance.

  • Chevron-right icon

    _showRevisionViewerCallback : null | ( config: EditorConfig ) => Promise<any>
    protectedinherited

    A callback that shows the revision viewer, stored to restore the original one after exiting the fullscreen mode.

Methods

  • Chevron-right icon

    constructor( editor )

  • Chevron-right icon

    defaultOnEnter() → HTMLElement

    A function that moves the editor UI elements to the fullscreen mode.

    Returns

    HTMLElement
  • Chevron-right icon

    destroy() → void
    inherited

  • Chevron-right icon

    disable() → void
    inherited

    Disables the fullscreen mode by restoring all moved elements and destroying the fullscreen container.

    Returns

    void
  • Chevron-right icon

    enable() → void
    inherited

    Enables the fullscreen mode. It executes the editor-specific enable handler and then the configured callback.

    Returns

    void
  • Chevron-right icon

    getWrapper() → HTMLElement
    inherited

    Returns the fullscreen mode container element.

    Returns

    HTMLElement
  • Chevron-right icon

    moveToFullscreen( elementToMove, placeholderName ) → void
    inherited

    Moves the given element to the fullscreen mode container, leaving a placeholder in its place.

    Parameters

    elementToMove : HTMLElement
    placeholderName : string

    Returns

    void
  • Chevron-right icon

    restoreMovedElementLocation( placeholderName ) → void
    inherited

    Returns a single moved element to its original place.

    Parameters

    placeholderName : string

    Returns

    void