Uroš Benedičič
Uroš Benedičič

Reputation: 1

TinyMCE removes assigned id='name' attribute of input

I have recently upgraded TinyMCE from 5.7.0 to 5.10.9 and I have just realized that new version removes assigned id="name" attribute on input:

Should be like this:

<label for="name">Your name:</label> <input type="text" id="name" tabindex="1" />

After TinyMCE removes it:

<label for="name">Your name:</label> <input type="text" tabindex="1" />

You can see id="name" is missing.

Why is this happening and how to avoid this? I have also found some info that some similar bug was fixed in 5.10.6: https://www.tiny.cloud/docs/release-notes/release-notes5106/#thenameandidattributesofsomeelementswereincorrectlyremovedduringserialization

Upvotes: 0

Views: 54

Answers (0)

Related Questions