Skip to content

History Plugin Incompatible with Comment Plugin #40

@Sam-Strand

Description

@Sam-Strand

Describe the bug

The rete-history-plugin is not compatible with the rete-comment-plugin. When both plugins are used together, actions performed on comments (add, moving, remove) are not recorded in the history stack, making undo/redo functionality incomplete.

Example to reproduce

No response

How to reproduce

Set up a Rete editor with both HistoryPlugin and CommentPlugin
Add some nodes and connections
Add comments (inline or frame)
Perform actions on comments (move, edit, select)
Try to undo/redo using Ctrl+Z/Ctrl+Y or history buttons

Expected behavior

Expected behavior:
All editor actions including comment manipulations should be recorded in history
Undo/redo should work for comment operations

Actual behavior:
Only node and connection actions are recorded in history
Comment operations are ignored by the history plugin
This creates an inconsistent user experience

Dependencies

"rete": "2.0.6",
"rete-comment-plugin": "2.1.2",
"rete-history-plugin": "2.1.1",

Platform

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions