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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link/Unlink partial unlinking not working anymore #9615

Open
hjanuschka opened this issue May 2, 2024 · 1 comment
Open

Link/Unlink partial unlinking not working anymore #9615

hjanuschka opened this issue May 2, 2024 · 1 comment

Comments

@hjanuschka
Copy link

馃檶 dear maintainers! thank you for keeping this project up!

we recently made a upgrade from a super old tiny deployment to a newer one, which went 99% flawless :)
however, one, "bug" or "behavioural" change popped up.

between 5.0.0 and 5.0.1 there seems to be a change made that changes the unlink button.

<= 5.0.0 --> if you had a link with multiple word's - unlink unlinked only the selected characters

>=5.0.1 ---> no matter what is selected the link is removed completely

bisecting the commits, 5.0.0...5.0.1
i guess it is related to this commit: 64ea6d5

@hjanuschka
Copy link
Author

as a workaround - calling execCommand("unlink") does the trick.

tinymce.get("content").execCommand("unlink")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant