Ticket #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
Change History
comment:1 Changed 4 years ago by garry.yao
- Owner set to garry.yao
- Status changed from new to assigned
- Keywords Review? added
comment:2 Changed 4 years ago by fredck
- 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:4 Changed 4 years ago by garry.yao
- Status changed from assigned to new
- Owner garry.yao deleted
- Milestone changed from CKEditor 3.1 to CKEditor 3.2
comment:6 Changed 3 years ago by garry.yao
- Version set to SVN (CKEditor)
- Milestone changed from CKEditor 3.3 to CKEditor 3.x
comment:7 Changed 3 years ago by fredck
- Milestone CKEditor 3.x deleted
Milestone CKEditor 3.x deleted
comment:10 Changed 2 years ago by wwalc
- Status changed from review_failed to closed
- Resolution set to duplicate
Note: See
TracTickets for help on using
tickets.

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.