New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 621700 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

<p> in <p> when hitting enter in contenteditable

Reported by cyril.au...@gmail.com, Jun 20 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2767.5 Safari/537.36

Example URL:
https://fiddle.jshell.net/duf0oxoq/

Steps to reproduce the problem:
1. https://fiddle.jshell.net/duf0oxoq/
2. http://recordit.co/dhaWcJvjLG
3. the video capture shows 2 problems, first hitting enter in the text creates new paragraphs in the paragraph (not allowed in html) then inserting a table makes a weird behavior, maybe due to the right floated image (can't reproduce without it)?

What is the expected behavior?
- no <p> inside <p>
- no <tbody> detached from <table>

What went wrong?
- <p> nested in <p>
- inserted <table> is messed up

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 53.0.2767.5  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0
 
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Tested the same on win8.1 chrome version 53.0.2773.0 -  hitting enter in the text creates new paragraphs in the paragraph

But the same is seen in firefox as well

Could you please recheck in other browsers and update the thread.
621700.png
260 KB View Download
I have it working on FF dev channel 49.0a2 (2016-06-20)
CaptureFFbr.JPG
71.3 KB View Download
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 21 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkonch...@chromium.org
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Platform>DevTools
Labels: -Type-Compat -Needs-Review M-53 OS-Linux OS-Mac Type-Bug
Owner: ----
Status: Untriaged (was: Unconfirmed)
Thanks for the fedback, able to reproduce the issue on Win 7, Mac 10.11.5 and Ubuntu 14.04 using stable 51.0.2704.106 and canary 53.0.2784.1.

This is a non-regression issue since M42(42.0.2311.0) as previous to it the table was not getting created.
Components: -Platform>DevTools Blink>Editing>Content
Contenteditable issues in here.

OP: just FYI this may be useful https://github.com/guardian/scribe/blob/master/BROWSERINCONSISTENCIES.md

Comment 6 by yosin@chromium.org, Jul 4 2016

Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Jul 4 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 8 by sheriffbot@chromium.org, Jul 4 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by yosin@chromium.org, Jul 5 2017

Labels: -Pri-2 -Hotlist-Recharge-Cold Pri-3
Status: Available (was: Untriaged)
Project Member

Comment 10 by sheriffbot@chromium.org, Jul 5

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment