AIContainerOverlay
interface
The configuration of the AI user interface container in the overlay mode. In this mode, the AI user interface is displayed on top of the web page on a preferred side. This mode is best suited for integrations with limited space.
ClassicEditor
.create( document.querySelector( '#editor' ), {
// ... Other configuration options ...
ai: {
container: {
type: 'overlay',
side: 'right'
},
}
} )
.then( ... )
.catch( ... );
Properties
-
showResizeButton : boolean | undefined
inheritedmodule:ai/aiconfig~AIContainerOverlay#showResizeButton
This option is used to show or hide the resize button in the AI user interface.
Defaults to
true
. -
side : AIContainerSide | undefined
module:ai/aiconfig~AIContainerOverlay#side
-
type : 'overlay'
module:ai/aiconfig~AIContainerOverlay#type