@seafile/sdoc-editor 0.3.24 → 0.3.25

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.
@@ -41,7 +41,7 @@ export function Placeholder(props) {
41
41
  return /*#__PURE__*/React.createElement("span", {
42
42
  style: {
43
43
  position: 'absolute',
44
- top: '0px',
44
+ top: '5px',
45
45
  color: 'rgba(191,191,191,1)',
46
46
  pointerEvents: 'none',
47
47
  width: '100%',
@@ -164,6 +164,9 @@ class SocketClient {
164
164
  reconnection: true,
165
165
  auth: {
166
166
  token: config.accessToken
167
+ },
168
+ query: {
169
+ 'sdoc_uuid': config.docUuid
167
170
  }
168
171
  });
169
172
  this.socket.on('connect', this.onConnected);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",