Bug 252219 - InsertParagraph should insert a BR when the root editable element is a phrasing content
Summary: InsertParagraph should insert a BR when the root editable element is a phrasi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-13 17:42 PST by Ryosuke Niwa
Modified: 2023-02-14 00:12 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>