We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
id
1 parent 9b1ad6a commit 384e3eaCopy full SHA for 384e3ea
src/main/ts/component/Editor.ts
@@ -230,6 +230,10 @@ class TinyMceEditor extends HTMLElement {
230
// load
231
const target = document.createElement('textarea');
232
target.value = this.textContent ?? '';
233
+ const attrId = this.attributes.getNamedItem('id')?.value;
234
+ if (attrId) {
235
+ target.id = attrId;
236
+ }
237
if (this.placeholder !== null) {
238
target.placeholder = this.placeholder;
239
}
0 commit comments