UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

30 lines (29 loc) 1.07 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/aiquickactions/ui/dropdownmenubuttonwithhighlightview */ import { IconView, type ButtonLabelWithHighlightView, ListItemButtonView } from 'ckeditor5/src/ui.js'; /** * A custom dropdown menu button view that supports text highlighting. * We need to bypass DropdownMenuButtonView's constructor and manually set up the button. */ export declare class DropdownMenuButtonWithHighlightView extends ListItemButtonView { /** * An icon that displays an arrow to indicate a direction of the menu. */ readonly arrowView: IconView; /** * Creates an instance with highlighting support. * * @param locale The localization services instance. * @param labelView The label view with highlighting support. */ constructor(locale: any, labelView: ButtonLabelWithHighlightView); /** * @inheritDoc */ render(): void; }