Skip to content
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

'Editors with duplicate Id will not be able to mount' warning given when setting id on editor component #374

Open
radagasus opened this issue Mar 25, 2024 · 1 comment
Labels
bug Something isn't working GitHub status: escalated

Comments

@radagasus
Copy link

What is the current behavior?

If you set a specific ID on the editor component, it triggers the following warning : TinyMCE-Angular: an element with id already exists. Editors with duplicate Id will not be able to mount.

This is because the code checks for elements with an id that clashes, but it so happens that the editor component already is assigned this id.

What is the expected behavior?

No warning should be thrown.

@danoaky-tiny
Copy link
Contributor

danoaky-tiny commented Mar 27, 2024

I've been able to replicate here: https://codesandbox.io/p/sandbox/issue-374-2m5828.

Internal ref: INT-3299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GitHub status: escalated
Projects
None yet
Development

No branches or pull requests

2 participants