After this error TinyMCE plugin will not initialized.
Attribute id could begin from digit, this is not an error. But TinyMCE use querySelectorAll method for querying by selector.
It could be fixed by changing selector string from '#4jtS5pUBVH8t7lcD__content' to '[id="4jtS5pUBVH8t7lcD__content"]'
In Editor.ts:54
selector: `#${elementId}\`, -> selector: `[id="${elementId}"]`,
This is javascript error in browser. In some cases if textarea tag has auto-generated id beginnig with digit number. For example
After this error TinyMCE plugin will not initialized.
Attribute
id
could begin from digit, this is not an error. But TinyMCE usequerySelectorAll
method for querying by selector. It could be fixed by changing selector string from'#4jtS5pUBVH8t7lcD__content'
to'[id="4jtS5pUBVH8t7lcD__content"]'
In Editor.ts:54
selector: `#${elementId}\`,
->selector: `[id="${elementId}"]`,