Skip to content

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

@WofWca

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

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