Hi Team, While looking into HTML Editing code in Blink, I noticed that they have early return for 'prepareWhitespaceAtPositionForSplit'. Blink Commit: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/composite_edit_command.cc;l=814;drc=3adc67dbb288622b53c188b0858ec898626998ae WebKit Source: https://searchfox.org/wubkat/rev/2cb2f84b68df8a519e252d535de43e7d19567883/Source/WebCore/editing/CompositeEditCommand.cpp#977 Following compiles: if (!isRichlyEditablePosition(position)) return; ___ I don't have any benchmark or test cases run through above change but it does not seems like bad idea. Thanks!
Committed 272570@main (77a2ca7c64f9): <https://commits.webkit.org/272570@main> Reviewed commits have been landed. Closing PR #22254 and removing active labels.
<rdar://problem/120376672>