-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Allow ID and data-* tags in TinyMCE #11053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Same issue solved in this PR #11025 I will test your solution ASAP. |
Why do you need ID attribute? It is forbidden for virtually any purpose, see http://devdocs.magento.com/guides/v2.2/coding-standards/code-standard-demarcation.html for details. |
0c0393d
to
e442de5
Compare
Why should ID be forbidden? If I want specifiek markup for one element. |
Because unique element today may become nonunique tomorrow. For example, Please recreate branch from |
@orlangur Done. |
@PieterCappelle during testing we found out that even if we do not allow ID explicitly multiple scenarios exist where merchant is still able to add ID to an element. So, while it would be good to enforce demarcation standard, it is not that easy, we would have to change some TinyMCE internals. Please force push current branch without last commit so that both |
@orlangur No problem, changed the code. |
Ah, ok, could do a revert on our side, just wanted a cleaner history :) Thanks for understanding 👍 |
Should be okay, sorry for delay. :) |
Ping @osrecio #11053 (comment) did this fix work for you after all? Last time there was a report from QA engineer that initial issue appears in some cases, didn't try it in action by myself yet. |
I don't try to myself yet, I will test this afternoon. I will test with |
@orlangur don't works for me with If I put:
If I put: |
@osrecio thanks for checking! @PieterCappelle could you please check the ID case? |
@PieterCappelle could you please check if this PR actually fixes mentioned issue? I didn't have a chance to check by myself yet but there are two independent persons which still observed "Failed to execute atob on Window". |
Closing for now as it seems like this change didn't fix initial issue completely, #11025 is another attempt of fix. Thanks @PieterCappelle for your endeavour! |
Allow ID-tag and data-* tag in HTML.
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist