@tinymce/tinymce-webcomponent 2.0.3-feature.20230526020344367.sha40821da → 2.0.3-feature.20231219081134809.sha384e3ea

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.
@@ -138,8 +138,7 @@
138
138
  images_reuse_filename: parseBooleanOrString,
139
139
  icons: parseString,
140
140
  icons_url: parseString,
141
- promotion: parseBooleanOrString,
142
- ui_mode: parseString
141
+ promotion: parseBooleanOrString
143
142
  };
144
143
  const configRenames = {};
145
144
  class TinyMceEditor extends HTMLElement {
@@ -326,10 +325,14 @@
326
325
  return handlers;
327
326
  }
328
327
  _doInit() {
329
- var _a;
328
+ var _a, _b;
330
329
  this._status = Status.Initializing;
331
330
  const target = document.createElement('textarea');
332
331
  target.value = (_a = this.textContent) !== null && _a !== void 0 ? _a : '';
332
+ const attrId = (_b = this.attributes.getNamedItem('id')) === null || _b === void 0 ? void 0 : _b.value;
333
+ if (attrId) {
334
+ target.id = attrId;
335
+ }
333
336
  if (this.placeholder !== null) {
334
337
  target.placeholder = this.placeholder;
335
338
  }
package/package.json CHANGED
@@ -42,13 +42,13 @@
42
42
  "esm": "^3.2.25",
43
43
  "express": "^4.18.2",
44
44
  "rollup": "^3.20.1",
45
- "tinymce": "^6.4.1",
45
+ "tinymce": "^6.3.1",
46
46
  "ts-loader": "^9.4.2",
47
47
  "ts-node": "^10.9.1",
48
48
  "typescript": "~5.0.2",
49
49
  "webpack": "^5.75.0"
50
50
  },
51
51
  "dependencies": {},
52
- "version": "2.0.3-feature.20230526020344367.sha40821da",
52
+ "version": "2.0.3-feature.20231219081134809.sha384e3ea",
53
53
  "name": "@tinymce/tinymce-webcomponent"
54
54
  }