@textbus/platform-browser 3.4.10 → 3.5.2
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/bundles/index.esm.js +12 -10
- package/bundles/index.js +12 -10
- package/package.json +3 -3
package/bundles/index.esm.js
CHANGED
@@ -2516,16 +2516,18 @@ class Viewer extends Starter {
|
|
2516
2516
|
}, {
|
2517
2517
|
provide: Viewer,
|
2518
2518
|
useFactory: () => this
|
2519
|
-
}
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2519
|
+
},
|
2520
|
+
DomRenderer,
|
2521
|
+
Parser,
|
2522
|
+
SelectionBridge,
|
2523
|
+
OutputTranslator,
|
2524
|
+
CollaborateCursor
|
2525
|
+
];
|
2526
|
+
options.imports = options.imports || [];
|
2527
|
+
options.imports.push({
|
2528
|
+
providers: staticProviders
|
2529
|
+
});
|
2530
|
+
super(Object.assign(Object.assign({}, options), { plugins: options.plugins || [], providers: options.providers, setup: options.setup }));
|
2529
2531
|
this.rootComponent = rootComponent;
|
2530
2532
|
this.rootComponentLoader = rootComponentLoader;
|
2531
2533
|
this.options = options;
|
package/bundles/index.js
CHANGED
@@ -2518,16 +2518,18 @@ class Viewer extends core.Starter {
|
|
2518
2518
|
}, {
|
2519
2519
|
provide: Viewer,
|
2520
2520
|
useFactory: () => this
|
2521
|
-
}
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2521
|
+
},
|
2522
|
+
exports.DomRenderer,
|
2523
|
+
exports.Parser,
|
2524
|
+
exports.SelectionBridge,
|
2525
|
+
exports.OutputTranslator,
|
2526
|
+
exports.CollaborateCursor
|
2527
|
+
];
|
2528
|
+
options.imports = options.imports || [];
|
2529
|
+
options.imports.push({
|
2530
|
+
providers: staticProviders
|
2531
|
+
});
|
2532
|
+
super(Object.assign(Object.assign({}, options), { plugins: options.plugins || [], providers: options.providers, setup: options.setup }));
|
2531
2533
|
this.rootComponent = rootComponent;
|
2532
2534
|
this.rootComponentLoader = rootComponentLoader;
|
2533
2535
|
this.options = options;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.5.2",
|
4
4
|
"description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
|
5
5
|
"main": "./bundles/index.js",
|
6
6
|
"module": "./bundles/index.esm.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/di": "^1.1.5",
|
29
29
|
"@tanbo/stream": "^1.2.0",
|
30
|
-
"@textbus/core": "^3.
|
30
|
+
"@textbus/core": "^3.5.0",
|
31
31
|
"reflect-metadata": "^0.1.13"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"bugs": {
|
49
49
|
"url": "https://github.com/textbus/textbus.git/issues"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "a40ea02f025d0578c15e6f81596c7993cb885f52"
|
52
52
|
}
|