Opened 14 years ago
Closed 14 years ago
#6478 closed Bug (fixed)
Silently insert an empty paragraph in Chrome
Reported by: | Stephane | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.4.2 |
Keywords: | Cc: |
Description
I just downloaded the latest nightly build revision 5942.
On Chrome 6.0.472.53, when I click in the editor content, with the lick on the FIRST !! line of content, it inserts an empty paragraph.
I do no editing at all. Only one click.
If the click is on the second line of content, or after the existing content, then the problem does not show up.
Before the click, the content is:
<p> Un petit essai de nl</p> <p> et de br pour <a href="/engine/modules/template/display.php?pageId=15" target="_self">voir</a></p>
And after the problematic click, the content is:
<p> Un petit essai de nl</p> <p> </p> <p> et de br pour <a href="/engine/modules/template/display.php?pageId=15" target="_self">voir</a></p>
I tested it on Firefox version 3.6.8 and the problem did not show up.
I run a Linux Mint machine.
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
The problem does not show up on an older release of the editor, the CKEditor 3.4 (revision 5825) does not show the problem.
comment:3 Changed 14 years ago by
In a related context, when calling an insertHtml() from a plugin, on the same nightly build revision 5942, then the same problem occurs, that is, if inserting the html chunk on any line of the existing content except the last one, then the same empty paragraph is being inserted.
The content before is:
<p> Un petit essai de nl</p> <p> et de br</p> <p> pour <a href="/engine/modules/template/display.php?pageId=15" target="_self">voir</a></p>
And the content after inserting the text [MAIL_META_USER_LASTNAME] on the second line is:
<p> Un petit essai de nl</p> <p> et [MAIL_META_USER_LASTNAME]de br</p> <p> </p> <p> pour <a href="/engine/modules/template/display.php?pageId=15" target="_self">voir</a></p>
And the problem does not show up on Firefox.
And, contrary to the above problem, this other similar problem also shows up on the CKEditor 3.4 (revision 5825).
comment:5 Changed 14 years ago by
I'm running a Linux Mint Isadora box. I don't have a Windows machine either.
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | pending → closed |
I have tested your issue and from what I see it was fixed in CKEditor 3.5.
If the content contains several lines, then the problem occurs when clicking on any line except the last one.