UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

25 lines (24 loc) 911 B
/** * @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/ui/view/commentthreadheadercontextview */ import { View, type FocusableView } from '@ckeditor/ckeditor5-ui'; import type { Locale } from '@ckeditor/ckeditor5-utils'; /** * A view displaying the context of a comment thread. The context is a piece of text from editor content * that comment was created on. It gives users a better understanding of what is discussed in the thread. */ export declare class CommentThreadHeaderContextView extends View implements FocusableView { /** * The text of the content, it corresponds to some of the content in the editor. */ contextValue: string; constructor(locale: Locale); /** * @inheritDoc */ focus(): void; }