autumnnote 2.7.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -614,6 +614,7 @@ See the [full Plugin API docs →](https://autumn.konexforge.com/docs.html#plugi
614
614
  | `direction` | `string` | `'ltr'` | Text direction: `'ltr'` or `'rtl'`. |
615
615
  | `autoSave` | `boolean` | `false` | Persist content to `localStorage` on every change. |
616
616
  | `autoSaveKey` | `string` | `'autumnnote-autosave'` | `localStorage` key used when `autoSave` is enabled. |
617
+ | `autoSaveDelay` | `number` | `400` | Debounce in ms between the last change and the auto-save write. |
617
618
  | `maxChars` | `number` | `0` | Maximum character count. `0` = unlimited. Shows warning in statusbar. |
618
619
  | `maxWords` | `number` | `0` | Maximum word count. `0` = unlimited. Shows warning in statusbar. |
619
620
  | `tableHeaderRow` | `boolean` | `false` | Insert a `<thead>` header row when creating new tables. |
@@ -634,6 +635,12 @@ See the [full Plugin API docs →](https://autumn.konexforge.com/docs.html#plugi
634
635
  | `maxPasteSize` | `number` | `5242880` | Maximum paste payload size in bytes (default 5 MB). Pastes larger than this are silently dropped. |
635
636
  | `minImageSize` | `number` | `20` | Minimum image dimension in px during resize (width and height). |
636
637
  | `mention` | `object` | `null` | @mention configuration object. Set `mention.onSearch` to activate. See [Mentions](#mentions). |
638
+ | `contextMenu` | `object` | `null` | Right-click menu override. `contextMenu.items` replaces the built-in list; see `ContextMenuItem` in the type definitions. |
639
+ | `slashCommands` | `object[]` | `[]` | Extra entries appended to the `/` command palette. |
640
+ | `historyMaxBytes` | `number` | `10485760` | Combined character budget for the undo/redo snapshot stack (default 10 MB). The oldest snapshots are dropped past it. |
641
+ | `blockIds` | `boolean` | `false` | Add stable `data-an-block-id` attributes to top-level blocks, so an external adapter can address them. |
642
+ | `documentAdapters` | `object` | `{}` | Import/export adapters keyed by format name. |
643
+ | `collaborationAdapter` | `object` | `null` | Bridge notified of local HTML changes. |
637
644
  | `onChange` | `Function` | `null` | `(html: string) => void` — called on every content change. |
638
645
  | `onFocus` | `Function` | `null` | `(context) => void` — called when the editor gains focus. |
639
646
  | `onBlur` | `Function` | `null` | `(context) => void` — called when the editor loses focus. |