Skip to content

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Feb 11:23
· 12 commits to main since this release

Added

  • Block Controls (Plus + Drag): Introduced new Notion-like block controls accessible via the blockControls property in AteEditorConfig.
    • Modes: Supports inside (fixed space reserved inside the editor) and outside (floating outside the editor for a full-width look).
    • Customization: Introduced --ate-content-gutter CSS variable (defaults to 54px in inside mode) to allow precise control over the reserved width.
    • Drag Handle: A 6-dots handle for native ProseMirror drag-and-drop block reordering.
    • Quick Add: A plus button that instantly triggers the slash commands menu at the current block position.

Changed

  • Padding Logic: Refactored --ate-content-padding into --ate-content-padding-block (vertical) and --ate-content-padding-inline (horizontal). This avoids calculation errors when using multi-value shorthands and allows more granular theme customization.