@ones-editor/editor 2.8.25-beta.2 → 2.8.25-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnesEditor } from '../../../../@ones-editor/core';
|
|
2
|
+
import CommentsList, { MobileCommentsList, MiniCommentsList } from '../comments-list';
|
|
2
3
|
import { CommentRoot, OnesEditorCommentsProvider } from '../types';
|
|
3
4
|
export default class OnesEditorComments {
|
|
4
5
|
private editor;
|
|
@@ -9,6 +10,9 @@ export default class OnesEditorComments {
|
|
|
9
10
|
constructor(editor: OnesEditor, provider: OnesEditorCommentsProvider);
|
|
10
11
|
get commentProvider(): OnesEditorCommentsProvider;
|
|
11
12
|
get isMobile(): boolean;
|
|
13
|
+
getCommentList(): CommentsList | null;
|
|
14
|
+
getMobileCommentList(): MobileCommentsList | null;
|
|
15
|
+
getMiniCommentList(): MiniCommentsList;
|
|
12
16
|
destroy(): void;
|
|
13
17
|
private showComment;
|
|
14
18
|
showCommentList: (groupId?: string) => void;
|