UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

37 lines (36 loc) 1.19 kB
/** * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aieditorintegration/aieditorintegration * @publicApi */ import { Plugin } from 'ckeditor5/src/core.js'; import { AIToggleButtonUI } from './aitogglebutton/aitogglebuttonui.js'; import { SuggestionsConversion } from '@ckeditor/ckeditor5-collaboration-core'; /** * The AI Editor Integration plugin. It registers AI-related components in the editor * and provides the necessary UI elements for AI functionality. * * This plugin works alongside context plugins that provide specific AI features, * handling the editor-level integration and toolbar controls. */ export declare class AIEditorIntegration extends Plugin { /** * @inheritDoc */ static get requires(): readonly [typeof AIToggleButtonUI, typeof SuggestionsConversion]; /** * @inheritDoc */ static get pluginName(): "AIEditorIntegration"; /** * @inheritDoc */ static get isOfficialPlugin(): true; /** * @inheritDoc */ static get isPremiumPlugin(): true; }