Postponed
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Feb 2016 at 14:09 UTC
Updated:
9 Sep 2022 at 10:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersPlease upload the screencast as an attachment to this issue. Those Dropbox links will stop working eventually.
Comment #3
wim leersAlso, this is not at all Quick Edit-specific. This is just CKEditor behavior.
Also, this is not at all related to
<a href="#">just empty anchor</a>links. You can reproduce it with ANY link.This is an edge case of CKEditor's selection logic: as soon as you type one character, it considers that the end of the
<a>'s content, and hence it puts subsequent characters outside of the<a>.Comment #4
wim leers<a href="foobar">One Two Three</a><a href="foobar">One Two Four</a><a href="foobar">One Two F</a>ourComment #5
wim leersFor a moment, I thought it was a bug in
drupallink(Drupal 8's own link plugin), but it's actually a bug in CKEditor's officiallinkas well, because I can easily reproduce this at http://ckeditor.com/demo also.Comment #6
Bcwald commentedComment #7
Bcwald commentedI too can replicate it on any link, so long as I start with the last character in the link. For example:
<a href="#">Test link</a>adding anything after the K breaks. or if I delete a word and start at the end.
But if I were to start typing at the beginning or middle, say I add "Another" between Test and LInk, it works fine.
Comment #8
Bcwald commentedComment #9
wim leers#6: Thanks!
#7: yep.
Now blocked on feedback from the CKEditor team. I pinged them.
I also cross-posted this to Backdrop's issue queue: https://github.com/backdrop/backdrop-issues/issues/1631 (we have a great working relationship with them wrt CKEditor-related issues).
Comment #10
wim leersComment #11
mlewand commentedThat's interesting couple of notes:
So it should be reported to Chromium team. It's to be determined whether it's a WebKit issue, if so we should also report it to their bugzilla.
Comment #12
wim leersYep, also happens in WebKit. At least in Safari 9.0.3.
Could you report this to both browser vendors? You have much more experience with that.
Comment #13
Bcwald commentedConfirmed. It is happening on WebKit mac for me. Chrome/Safari.
I also confirmed this issue does *not* happen on FF.
Appears you are correct that it's a Webkit specific issue.
Comment #14
wim leersComment #15
mlewand commentedThere you go, reported to both Chromium and Webkit teams.
Comment #16
wim leersThanks!
Comment #17
wim leersAdding prefix so it's visually clear when looking at the list of open issues which ones we cannot actually fix.
Comment #29
quietone commentedCKEditor has been removed from core, CKEditor 4 is removed from Drupal Core in 10.0.0