FullscreenClassicEditorHandler
The classic editor fullscreen mode handler.
Properties
-
updateDialogPositionCallback : ( _evt: EventInfo, _name: string, isOpen: boolean ) => void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#updateDialogPositionCallback
Stores a bound reference to the _updateDialogPosition method, allowing it to be attached and detached from change event.
-
_closeRevisionViewerCallback : null | ( viewerEditor: any ) => Promise<unknown>
protectedinheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#_closeRevisionViewerCallback
A callback that closes the revision viewer, stored to restore the original one after exiting the fullscreen mode.
-
_editor : ClassicEditor
protectedreadonlymodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#_editor
An editor instance.
-
_showRevisionViewerCallback : null | ( config: EditorConfig ) => Promise<any>
protectedinheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#_showRevisionViewerCallback
A callback that shows the revision viewer, stored to restore the original one after exiting the fullscreen mode.
Methods
-
constructor( editor )
module:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#constructor
-
defaultOnEnter() → HTMLElement
module:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#defaultOnEnter
A function that moves the editor UI elements to the fullscreen mode.
Returns
HTMLElement
-
destroy() → void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#destroy
-
disable() → void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#disable
Disables the fullscreen mode by restoring all moved elements and destroying the fullscreen container.
Returns
void
-
enable() → void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#enable
Enables the fullscreen mode. It executes the editor-specific enable handler and then the configured callback.
Returns
void
-
getWrapper() → HTMLElement
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#getWrapper
-
moveToFullscreen( elementToMove, placeholderName ) → void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#moveToFullscreen
Moves the given element to the fullscreen mode container, leaving a placeholder in its place.
Parameters
elementToMove : HTMLElement
placeholderName : string
Returns
void
-
restoreMovedElementLocation( placeholderName ) → void
inheritedmodule:fullscreen/handlers/classiceditorhandler~FullscreenClassicEditorHandler#restoreMovedElementLocation
Returns a single moved element to its original place.
Parameters
placeholderName : string
Returns
void