Opened 3 years ago

Last modified 3 years ago

#16720 confirmed Bug

Firefox: Not possible to enter normal text after inserting Link using Link dialog

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: IBM Cc: Irina

Description

Steps to reproduce

  1. Open nightly build in firefox.
  2. Clear all content & insert a link using link dialog
  3. After link is inserted press Right Arrow key to come out of link and type some text

Expected result Typed text should be outside link and should be normal text

Actual result: Newly typed text still part of link & there is no way for user to type normal text on same line unless he press Enter to go to New line

Change History (3)

comment:1 Changed 3 years ago by Jakub Ś

Status: newconfirmed
Version: 4.0

It seems it has always been working like that in Firefox. I was able to reproduce this issue from CKEditor 4.0 (didn't check 3.x).

It works the same was as e.g. basic styles - you press B button, type text in bold, press B, type normal text.
For link plugin it looks similar: You open link Dialog and insert link; if you type text now, it gets linked; if you want to leave link you press unlink button; now if you type, text will be normal.

Another workaround to leave the link is pressing enter, pressing left arrow and typing.

comment:2 Changed 3 years ago by Satya Minnekanti

@j.swiderski is there any update on this ticket? do you think it's CK or Firefox issue?

comment:3 Changed 3 years ago by Jakub Ś

If you try below code, you will get the same result in native contenteditable in Firefox so this is FF feature/bug.

<div style="margin:20px; border:1px solid black; width:500px;" contenteditable="true">
<p><a href="http://test">http://test</a></p>
</div>

I have reported this issue here: https://bugzilla.mozilla.org/show_bug.cgi?id=1357365

I will also forward this to @m.lewandowski and ask if we could have a look at this for any possible hacks.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy