@wangeditor-next/yjs-for-react 0.1.64 → 0.1.65

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.
@@ -5,6 +5,7 @@
5
5
  import { Dom7Array, DOMElement } from '../utils/dom';
6
6
  declare class TextArea {
7
7
  private selectionChangeRoot;
8
+ private destroyed;
8
9
  readonly id: number;
9
10
  $box: Dom7Array;
10
11
  $textAreaContainer: Dom7Array;
@@ -21,6 +22,7 @@ declare class TextArea {
21
22
  private latestEditorSelection;
22
23
  constructor(boxSelector: string | DOMElement);
23
24
  private get editorInstance();
25
+ private getActiveEditor;
24
26
  private bindSelectionChange;
25
27
  private onDOMSelectionChange;
26
28
  flushDOMSelectionChange(): void;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { DOMElement } from '../utils/dom';
6
6
  /**
7
- * pre-prase table ,去掉 <tbody> 和处理单元格中的 <p> 标签,以及删除隐藏的单元格
7
+ * pre-prase table ,去掉 <tbody> 和处理单元格中的 <p> 标签
8
8
  * @param table table elem
9
9
  */
10
10
  declare function preParse(tableElem: DOMElement): DOMElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/yjs-for-react",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "React specific components/utils for wangeditor-next-yjs.",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -50,8 +50,8 @@
50
50
  "y-protocols": "^1.0.5"
51
51
  },
52
52
  "peerDependencies": {
53
- "@wangeditor-next/editor": "5.6.53",
54
- "@wangeditor-next/yjs": "^0.1.48",
53
+ "@wangeditor-next/editor": "5.6.54",
54
+ "@wangeditor-next/yjs": "^0.1.49",
55
55
  "react": ">=17.0.2",
56
56
  "slate": "^0.123.0",
57
57
  "yjs": "^13.5.29"