Skip to content

HistoryModule

Auto-imported: NO

The History module manages undo and redo operations in the editor. It is a built-in Quill module that is enabled by default even without explicit configuration.

This module does not need to be added manually unless you want to customize its options. See the Quill History module documentation for more details.

Options:

OptionTypeDefaultDescription
delaystring'1000'Delay in milliseconds before changes are stacked
maxStackstring'100'Maximum number of changes kept in the history
userOnlystring'false'Only track user-initiated changes

Usage example:

php
'modules' => [
    new HistoryModule(options: [
        'delay' => '500',
        'maxStack' => '200',
    ]),
],