@codernote/record-tree 2.8.3 → 2.8.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -787,7 +787,7 @@ const Ur = new RegExp(`(${xa.join("|")})`, "g"), zr = /<\/?mark>/g, Sa = (_) =>
787
787
  focus,
788
788
  dispatch: Be
789
789
  }), (Me, G) => _.data.type ? (tt(), Gt(We(Yr), {
790
- key: 0,
790
+ key: `media-${_.data.type}`,
791
791
  ref_key: "mediaEditor",
792
792
  ref: ue,
793
793
  data: _.data,
@@ -797,7 +797,7 @@ const Ur = new RegExp(`(${xa.join("|")})`, "g"), zr = /<\/?mark>/g, Sa = (_) =>
797
797
  onFocus: me,
798
798
  onRemove: be
799
799
  }, null, 8, ["data", "readOnly"])) : (tt(), Gt(We(qr), {
800
- key: 1,
800
+ key: "text",
801
801
  ref_key: "textEditor",
802
802
  ref: b,
803
803
  content: _.readOnly ? xe(_.data.text) : _.data.text,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codernote/record-tree",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {