UNPKG

@znuny/ckeditor5-autocomplete-plugin

Version:

A plugin for CKEditor 5 that provides an extendable autocomplete functionality with predefined mention and HTML replacement logic.

22 lines (21 loc) 715 B
/** * @copyright Copyright (c) 2024, Znuny GmbH. * @copyright Copyright (c) 2003-2024, CKSource Holding sp. z o.o. * * @license GNU GPL version 3 * * This software comes with ABSOLUTELY NO WARRANTY. For details, see * the enclosed file COPYING for license information (GPL). If you * did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt. */ /** * @module mention/ui/mentionlistitemview */ import { ListItemView } from 'ckeditor5/src/ui.js'; import type { CompletionElement } from '../Interfaces/CompletionElement.js'; export declare class MentionListItemView extends ListItemView { item: CompletionElement; marker: string; highlight(): void; removeHighlight(): void; }