CMD-K shortcut should add a link to the selected text
On a Mac (couldn't test it on other systems) this shortcut creates a new text with the link at the end of the text, whereas the "create link" button works as expected.
CMD-KmacOS 10.4.1
Safari and Chrome
I am also experiencing this issue
Worth noting that Cmd/Ctrl+K also doesn't focus the URL input like it does if you trigger the popup with a click.
I can also confirm this bug on the PC, tested in latest Firefox and latest Chrome.
When Ctrl-K shortcut is used, the actual link is inserted right at the end of the document, not in the place of the selected text. And additionally, focus is not set to the URL field of the pop-up form.
These are relatively recent bugs - Ctrl-K used to work fine.
When clicking the link button, everything works as it should.
Indeed. The issues you mention along with some other significant ones for us were introduced in v2.9.0. Unfortunately that version only brought us more problems than it solved and fixes haven't been as quick as they were in the past so we reverted back to using v2.8.5 in case that's any help. We'll stick with that until we see an improvement.
@chrisdeeming Thanks for the reply - we are in fact looking to roll back to an earlier version, so you have saved us testing to find a working release. We too have noticed other new bugs, and slower response to fix them.
2.8.5 isn't perfect by any means and it depends on your exact use case (some new features were added in 2.9 so you will have to check you're not using them).
But for our use case, 2.9.0 actually only fixed one outstanding issue we had and we had to re-open that as there ended up being more to it. It introduced a few more issues though.
From our point of view, the following bugs still exist in 2.8.5 but they don't pose a major problem for us:
https://github.com/froala/wysiwyg-editor/issues/3242
https://github.com/froala/wysiwyg-editor/issues/3228
https://github.com/froala/wysiwyg-editor/issues/3197
Thanks, very useful.
Please re-open this issue as it is not fully fixed.
The other bug raised in this issue is when using Ctrl-K the focus is not set to the URL field of the pop-up form. This was working fine in v2.8.5 and is not fixed in v2.9.2.
It's fixed on the Github master, and will be included in release 2.9.3.
Just tried v2.9.3 now and can confirm fixed. Thank you :)