ClassicEditorHandler (fullscreen/handlers)
@ckeditor/ckeditor5-fullscreen/src/handlers/classiceditorhandler
The classic editor fullscreen mode handler.
Filtering
Properties
-
inherited
updateDialogPositionCallback : ( _evt: EventInfo, _name: string, isOpen: boolean ) => voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#updateDialogPositionCallbackStores a bound reference to the _updateDialogPosition method, allowing it to be attached and detached from change event.
-
protected inherited
_closeRevisionViewerCallback : null | ( viewerEditor: any ) => Promise<unknown>module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_closeRevisionViewerCallbackA callback that closes the revision viewer, stored to restore the original one after exiting the fullscreen mode.
-
protected readonly
_editor : ClassicEditormodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_editorAn editor instance.
-
protected inherited
_showRevisionViewerCallback : null | ( config: EditorConfig ) => Promise<any>module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_showRevisionViewerCallbackA callback that shows the revision viewer, stored to restore the original one after exiting the fullscreen mode.
Methods
-
constructor( editor )module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#constructor -
defaultOnEnter() → HTMLElementmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#defaultOnEnter -
inherited
destroy() → voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#destroy -
inherited
disable() → voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#disableDisables the fullscreen mode by restoring all moved elements and destroying the fullscreen container.
Returns
void
-
inherited
enable() → voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#enableEnables the fullscreen mode. It executes the editor-specific enable handler and then the configured callback.
Returns
void
-
inherited
getWrapper() → HTMLElementmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#getWrapper -
inherited
moveToFullscreen( elementToMove, placeholderName ) → voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#moveToFullscreenMoves the given element to the fullscreen mode container, leaving a placeholder in its place.
Parameters
elementToMove : HTMLElementplaceholderName : string
Returns
void
-
inherited
restoreMovedElementLocation( placeholderName ) → voidmodule:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#restoreMovedElementLocationReturns a single moved element to its original place.
Parameters
placeholderName : string
Returns
void
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.