@kerebron/extension-yjs 0.8.6 → 0.8.7
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.
- package/esm/ExtensionYjs.d.ts +1 -1
- package/esm/ExtensionYjs.js +1 -1
- package/package.json +3 -3
- package/src/ExtensionYjs.ts +1 -1
package/esm/ExtensionYjs.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface YjsConfig {
|
|
|
8
8
|
export declare class ExtensionYjs extends Extension {
|
|
9
9
|
config: YjsConfig;
|
|
10
10
|
name: string;
|
|
11
|
-
|
|
11
|
+
overrides: string[];
|
|
12
12
|
requires: string[];
|
|
13
13
|
getCommandFactories(): Partial<CommandFactories>;
|
|
14
14
|
getKeyboardShortcuts(): Partial<CommandShortcuts>;
|
package/esm/ExtensionYjs.js
CHANGED
|
@@ -6,7 +6,7 @@ import { ySyncPluginKey } from './keys.js';
|
|
|
6
6
|
export class ExtensionYjs extends Extension {
|
|
7
7
|
config;
|
|
8
8
|
name = 'yjs';
|
|
9
|
-
|
|
9
|
+
overrides = ['history'];
|
|
10
10
|
requires = ['remote-selection'];
|
|
11
11
|
getCommandFactories() {
|
|
12
12
|
const changeRoom = (roomId) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerebron/extension-yjs",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "./esm/ExtensionYjs.js",
|
|
6
6
|
"exports": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"src"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kerebron/editor": "0.8.
|
|
30
|
-
"@kerebron/extension-basic-editor": "0.8.
|
|
29
|
+
"@kerebron/editor": "0.8.7",
|
|
30
|
+
"@kerebron/extension-basic-editor": "0.8.7",
|
|
31
31
|
"lib0": "0.2.109",
|
|
32
32
|
"prosemirror-model": "1.25.9",
|
|
33
33
|
"prosemirror-state": "1.4.3",
|
package/src/ExtensionYjs.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface YjsConfig {
|
|
|
23
23
|
export class ExtensionYjs extends Extension {
|
|
24
24
|
name = 'yjs';
|
|
25
25
|
|
|
26
|
-
override
|
|
26
|
+
override overrides = ['history'];
|
|
27
27
|
requires = ['remote-selection'];
|
|
28
28
|
|
|
29
29
|
override getCommandFactories(): Partial<CommandFactories> {
|