Opened 13 years ago
Last modified 8 years ago
#8146 closed Bug
Creating link continues onto second line — at Version 6
Reported by: | Freddie Bingham | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: | mike@… |
Description (last modified by )
Using Chrome.
- Press the "Link" button.
- Enter "www.google.com", press "Ok"
- Observe that the selected link is placed into the editor.
- Press "End" to cancel the highlight and get cursor at end of link.
- Type "ABC".
- Observe that the characters aren't linked - which is correct.
- Delete these three characters with backspace
- If in ENTER_P mode, press, shift-enter, if in ENTER_BR, just press enter.
- Type "ABC".
- Note that "ABC" becomes linked, which it should not.
Simplified TC:
- In Chrome, Safari or Opera, having enter mode set to BR, clean editor contents using new page
- Click link button and insert link
- Press END button
- Press Enter (if you start typing everything is ok)
- Start typing - link is continued.
Change History (6)
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|---|
Version: | 3.6.1 → 3.0 |
comment:2 Changed 13 years ago by
Regardless of the pasting issue, this specific problem seems fixable. Is there any reason that shift-enter can't be made to just break out of an URL. Can the boundaries be manipulated in this manner for web-kit?
comment:3 Changed 13 years ago by
The attached diff appears to fix the problem for me in Webkit and Opera. It also fixes the issue in Opera where shift-enter after the link does not move the cursor down. As it is now, the Opera cursor appears to move to the top left corner until text is typed after pressing shift-enter.
Changed 13 years ago by
comment:6 Changed 11 years ago by
Description: | modified (diff) |
---|
Problem can also be reproduced in CKE 4.x (v4) in Opera Chrome Safari.
I have managed to reproduce your TC in Webkit and Opera from CKEditor 3.0.
NOTE: Following your TC I did not produce the link in Firefox because I was out of link boundaries (See https://dev.ckeditor.com/ticket/7796#comment:4 and #8195). But if after step 7. I pressed left arrow and then right arrow I could see on ElementsPath that I was in side of the link (problems on Webkit, IE and Opera with elementsPath are reported in #8149) although cursor was in the same place as after pressing BACKSPACE 3 times. Pressing SHIFT+ENTER broke the link and continued it in next line.