Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Open link balloon on first click #179

Closed
wants to merge 3 commits into from
Closed

Open link balloon on first click #179

wants to merge 3 commits into from

Conversation

szymonkups
Copy link
Contributor

@szymonkups szymonkups commented Mar 9, 2018

Suggested merge commit message (convention)

Fix: Fixed issue with balloon panel not showing when link is clicked for the first time. Closes ckeditor/ckeditor5#4823.


Additional information

I've removed selection position wrapping inside a link, it was causing problems when typing at the link boundaries. Now filler appear there but we decided that it's enough solution for now.

@szymonkups szymonkups requested a review from Reinmar March 9, 2018 07:39
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd5e5fa on t/176 into 01b74ec on master.

@Reinmar
Copy link
Member

Reinmar commented Mar 11, 2018

Unfortunately, this PR fixes the bug only on Chrome. It still occurs in FF and Safari.

Also, I found a regression caused by this change: ckeditor/ckeditor5#889.

Since we're planning to rewrite the highlight so it adds a class (https://github.com/ckeditor/ckeditor5-link/issues/180) let's not merge this PR. I'd rather live with those two clicks needed to show the balloon rather than other weird behaviours.

@Reinmar Reinmar closed this Mar 11, 2018
@Reinmar
Copy link
Member

Reinmar commented Mar 11, 2018

I'll leave the branch for a while unless we'll change our minds tomorrow.

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

Successfully merging this pull request may close these issues.

Balloon panel doesn't show up after click when link is not highlighted
3 participants