Skip to content

fix(ok): stop swallowing mixed paste payloads into the target list item (#2786)#740

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jul 21, 2026
Merged

fix(ok): stop swallowing mixed paste payloads into the target list item (#2786)#740
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.

…em (#2786)

Pasting any payload that is not 100% lists at a caret inside a list item
fell through the allLists gate to the closed-slice fallback, which nests
the whole payload inside the target item (schema-legal because listItem
admits every block type). Extend the sibling-splice placement intent to
mixed payloads: split the outermost list at the caret, place non-list
blocks as siblings of the list, and continue the list with the payload's
leading/trailing list runs. Also removes the loose-list blank-line
synthesis and the degenerate double marker those pastes produced.

GitOrigin-RevId: d066126de51aacdc92b8edf8169648db2046c8ae
@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 2bc45d4 into main Jul 21, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch July 21, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant