Skip to content

Summary insert should preserve undo history #7

Description

@krwg

Summary

editor.setValue() breaks undo expectations.

Target milestone: 2.8.5
Work branch: 2.8.5/issue-7-summary-undo


Problem

Full editor replace for summary apply.

Expected behavior

vault.modify preserves Obsidian undo stack where possible.

Suggested approach

Use vault.modify + view refresh; keep replace-latest separator logic.

Files / areas

  • main.js
  • services/summary.js

Acceptance criteria

  • Undo restores pre-summary body

Metadata

Field Value
Priority P1
Milestone 2.8.5
Branch 2.8.5/issue-7-summary-undo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Important quality UX or publish blockerenhancementImprovement or new capabilityobsidianObsidian plugin surfaceuxUser interface and accessibility

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions