ClassicEditorHandler (fullscreen/handlers)
@ckeditor/ckeditor5-fullscreen/src/handlers/classiceditorhandler
The classic editor fullscreen mode handler.
Filtering
Properties
-
inherited
updateDialogPositionCallback : ( EventInfo<string, unknown>, string, boolean ) => void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#updateDialogPositionCallback
Stores a bound reference to the _updateDialogPosition method, allowing it to be attached and detached from change event.
-
protected inherited
_closeRevisionViewerCallback : null | ( default ) => Promise<unknown>
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_closeRevisionViewerCallback
A callback that closes the revision viewer, stored to restore the original one after exiting the fullscreen mode.
-
protected readonly
_editor : ClassicEditor
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_editor
An editor instance.
-
protected inherited
_showRevisionViewerCallback : null | ( EditorConfig ) => Promise<null | default>
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_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~ClassicEditorHandler#constructor
-
inherited
destroy() → void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#destroy
-
inherited
disable() → void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#disable
Disables the fullscreen mode by restoring all moved elements and destroying the fullscreen container.
Returns
void
-
inherited
enable() → void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#enable
Enables the fullscreen mode. It executes the editor-specific enable handler and then the configured callback.
Returns
void
-
inherited
getWrapper() → HTMLElement
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#getWrapper
-
inherited
moveToFullscreen( elementToMove, placeholderName ) → void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#moveToFullscreen
Moves the given element to the fullscreen mode container, leaving a placeholder in its place.
Parameters
elementToMove : HTMLElement
placeholderName : string
Returns
void
-
inherited
restoreMovedElementLocation( placeholderName ) → void
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#restoreMovedElementLocation
Returns a single moved element to its original place.
Parameters
placeholderName : string
Returns
void
-
protected
_defaultOnEnter() → HTMLElement
module:fullscreen/handlers/classiceditorhandler~ClassicEditorHandler#_defaultOnEnter
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.