Opened 15 years ago
Closed 14 years ago
#3375 closed Bug (duplicate)
Unable to exit link
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | SVN (CKEditor) - OLD |
Keywords: | Firefox | Cc: |
Description
If the very last element of the current paragraph is a link, it's not able to leave the 'a' element either by 'Arrow Right' or 'End' key.
Reproducing Procedures
- Open the replace by class example page;
- Make the following content along with selection:
<p>text<a href="#">link^</a></p>
- Press End key, then begin to type some text;
- Expected Result: The newly typed texts were not inside this link.
- Actual Result: The newly typed texts were part of the link content.
Attachments (1)
Change History (11)
comment:1 Changed 15 years ago by
Keywords: | Review? added |
---|---|
Owner: | set to Garry Yao |
Status: | new → assigned |
Changed 15 years ago by
Attachment: | 3375.patch added |
---|
comment:2 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
- We must not count on the invisibility of the "Zero Width No-Break Space" char to propose fixes that leave it in the document. Even if no space is taken by it, it makes the caret stop on it when moving with the arrows.
- The way to create the Zero Width No-Break Space text node is wrong. The dom.text class can be used for that.
- In any case, that's not a good solution for that. We must instead use the keystrokes to find out whether we need to move the selection out of the link or not. No padding nodes are needed. I would check how we do that on V2 first.
comment:3 Changed 15 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.1 |
---|
comment:4 Changed 15 years ago by
Milestone: | CKEditor 3.1 → CKEditor 3.2 |
---|---|
Owner: | Garry Yao deleted |
Status: | assigned → new |
comment:5 Changed 15 years ago by
Milestone: | CKEditor 3.2 → CKEditor 3.3 |
---|
comment:6 Changed 14 years ago by
Milestone: | CKEditor 3.3 → CKEditor 3.x |
---|---|
Version: | → SVN (CKEditor) |
comment:10 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | review_failed → closed |
The proposed approach is about using a 'Inline Padding' node to establish a place holder for those boundary position, now it's able to both appending or exiting the link node.