@textbus/platform-browser 4.3.10 → 4.3.11

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.
@@ -27,7 +27,6 @@ export declare class BrowserModule implements Module {
27
27
  config: ViewOptions;
28
28
  providers: Provider[];
29
29
  private workbench;
30
- private textbus?;
31
30
  constructor(config: ViewOptions);
32
31
  /**
33
32
  * 解析 HTML 并返回一个组件实例
@@ -2733,12 +2733,6 @@ class BrowserModule {
2733
2733
  writable: true,
2734
2734
  value: void 0
2735
2735
  });
2736
- Object.defineProperty(this, "textbus", {
2737
- enumerable: true,
2738
- configurable: true,
2739
- writable: true,
2740
- value: void 0
2741
- });
2742
2736
  const { mask, wrapper } = BrowserModule.createLayout();
2743
2737
  wrapper.prepend(config.adapter.host);
2744
2738
  if (config.minHeight) {
@@ -2819,7 +2813,6 @@ class BrowserModule {
2819
2813
  }
2820
2814
  setup(textbus) {
2821
2815
  return __awaiter(this, void 0, void 0, function* () {
2822
- this.textbus = textbus;
2823
2816
  const host = this.config.renderTo();
2824
2817
  if (!(host instanceof HTMLElement)) {
2825
2818
  throw browserErrorFn('view container is not a HTMLElement');
package/bundles/index.js CHANGED
@@ -2735,12 +2735,6 @@ class BrowserModule {
2735
2735
  writable: true,
2736
2736
  value: void 0
2737
2737
  });
2738
- Object.defineProperty(this, "textbus", {
2739
- enumerable: true,
2740
- configurable: true,
2741
- writable: true,
2742
- value: void 0
2743
- });
2744
2738
  const { mask, wrapper } = BrowserModule.createLayout();
2745
2739
  wrapper.prepend(config.adapter.host);
2746
2740
  if (config.minHeight) {
@@ -2821,7 +2815,6 @@ class BrowserModule {
2821
2815
  }
2822
2816
  setup(textbus) {
2823
2817
  return __awaiter(this, void 0, void 0, function* () {
2824
- this.textbus = textbus;
2825
2818
  const host = this.config.renderTo();
2826
2819
  if (!(host instanceof HTMLElement)) {
2827
2820
  throw browserErrorFn('view container is not a HTMLElement');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/platform-browser",
3
- "version": "4.3.10",
3
+ "version": "4.3.11",
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",
@@ -47,5 +47,5 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/textbus/textbus.git/issues"
49
49
  },
50
- "gitHead": "472be3e304f6778ae993fda938d660c628b3d2e9"
50
+ "gitHead": "ae81815d6997cae3c2a8e3a8cc83d539301a3192"
51
51
  }