@textbus/xnote 0.3.4 → 0.3.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.
@@ -2286,7 +2286,8 @@ function SourceCodeView(props) {
2286
2286
  }
2287
2287
  }
2288
2288
  return createVNode('div', {
2289
- class: 'xnote-source-code-line' + (item.emphasize ? ' xnote-source-code-line-emphasize' : '')
2289
+ class: 'xnote-source-code-line' + (item.emphasize ? ' xnote-source-code-line-emphasize' : ''),
2290
+ key: item.slot.id
2290
2291
  }, [
2291
2292
  createVNode('span', { class: 'xnote-source-code-line-content' }, children)
2292
2293
  ]);
package/bundles/index.js CHANGED
@@ -2288,7 +2288,8 @@ function SourceCodeView(props) {
2288
2288
  }
2289
2289
  }
2290
2290
  return core$1.createVNode('div', {
2291
- class: 'xnote-source-code-line' + (item.emphasize ? ' xnote-source-code-line-emphasize' : '')
2291
+ class: 'xnote-source-code-line' + (item.emphasize ? ' xnote-source-code-line-emphasize' : ''),
2292
+ key: item.slot.id
2292
2293
  }, [
2293
2294
  core$1.createVNode('span', { class: 'xnote-source-code-line-content' }, children)
2294
2295
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "A high-performance rich text editor that supports multiplayer online collaboration.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -27,14 +27,14 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@tanbo/color": "^0.1.1",
30
- "@textbus/adapter-viewfly": "^4.4.2",
31
- "@textbus/collaborate": "^4.4.2",
32
- "@textbus/core": "^4.4.2",
33
- "@textbus/platform-browser": "^4.4.2",
34
- "@viewfly/core": "^1.2.2",
35
- "@viewfly/hooks": "^1.2.2",
36
- "@viewfly/platform-browser": "^1.2.2",
37
- "@viewfly/scoped-css": "^1.2.2",
30
+ "@textbus/adapter-viewfly": "^4.5.0",
31
+ "@textbus/collaborate": "^4.5.1",
32
+ "@textbus/core": "^4.5.0",
33
+ "@textbus/platform-browser": "^4.5.0",
34
+ "@viewfly/core": "^1.2.3",
35
+ "@viewfly/hooks": "^1.2.3",
36
+ "@viewfly/platform-browser": "^1.2.3",
37
+ "@viewfly/scoped-css": "^1.2.3",
38
38
  "highlight.js": "^11.9.0",
39
39
  "katex": "^0.16.10",
40
40
  "uuid": "^10.0.0"