Bug 252219

Summary: InsertParagraph should insert a BR when the root editable element is a phrasing content
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryosuke Niwa 2023-02-13 17:42:25 PST
When the root editable element is a phrasing content such as a, em, strong, etc...,
we should insert a BR instead of the default paragraph separator (div or p).
Comment 1 Ryosuke Niwa 2023-02-13 17:58:16 PST
Pull request: https://github.com/WebKit/WebKit/pull/10065
Comment 2 EWS 2023-02-14 00:11:10 PST
Committed 260242@main (37c9962af2e3): <https://commits.webkit.org/260242@main>

Reviewed commits have been landed. Closing PR #10065 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-02-14 00:12:19 PST
<rdar://problem/105438898>