UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

40 lines (39 loc) 1.16 kB
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module comments/comments/commentsarchive * @publicApi */ import { ContextPlugin, type Context, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { Collection } from "@ckeditor/ckeditor5-utils"; import { CommentsRepository, type CommentThread } from "./commentsrepository.js"; import { Annotations } from "../annotations/annotations.js"; /** * This plugin handles all operations on archived threads needed for the comments archive. */ export declare class CommentsArchive extends ContextPlugin { archivedThreads: Collection<CommentThread>; /** * @inheritDoc */ static get pluginName(): "CommentsArchive"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; /** * @inheritDoc */ static override get isPremiumPlugin(): true; /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[CommentsRepository, Annotations]>; constructor(context: Context | Editor); /** * @inheritDoc */ init(): void; }