Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

history: false still adds "undo" menu button and keybindings #15

Description

@WofWca

This option:

/// Set to false to disable the history plugin.
history?: boolean

The result is that the buttons and the key combinations do nothing.

Menu items are added here:

r.fullMenu = r.inlineMenu.concat([[r.insertMenu, r.typeMenu]], [[undoItem, redoItem]], r.blockMenu)

Key bindings are added here:

bind("Mod-z", undo)
bind("Shift-Mod-z", redo)

The history option was added in 1b9adcb

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions