@ones-editor/editor 0.0.6-beta.12 → 0.0.6-beta.13

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.
@@ -12,6 +12,7 @@ export default class OnesEditorComments {
12
12
  destroy(): void;
13
13
  private showComment;
14
14
  showCommentList: (groupId?: string) => void;
15
+ setFirstEditingCommentActive(): void;
15
16
  isEditing(): boolean;
16
17
  mount(containers: CommentRoot): void;
17
18
  private handleCommentListClose;
@@ -19,6 +19,7 @@ export default class CommentsList extends TypedEmitter<CommentsListEvents> imple
19
19
  onUpdateComment(commentId: string, local: boolean): void;
20
20
  createList(): CommentGroupList;
21
21
  isEditing(): boolean;
22
+ setFirstEditingCommentActive(): void;
22
23
  handleSelectionOnComment: () => void;
23
24
  updateCommentCount: () => void;
24
25
  handleActiveItemChanged: (index: number, direction?: 'prev' | 'next') => void;
@@ -21,8 +21,10 @@ export default class CommentGroupList extends ListBase<CommentWithChildren, Comm
21
21
  insertItem(data: CommentWithChildren, options?: {
22
22
  active: boolean;
23
23
  }): CommentGroupItem | null;
24
+ private findFirstEditingComment;
24
25
  isEditing(): boolean;
25
26
  closeEditing: (groupId: string) => void;
27
+ setFirstEditingCommentActive: () => void;
26
28
  setActiveItem(index: number, direction?: 'prev' | 'next'): void;
27
29
  get activeIndex(): number;
28
30
  get activeItem(): CommentGroupItem | null;