Skip to content

Releases: FloGeez/angular-tiptap-editor

v3.2.1

Choose a tag to compare

@github-actions github-actions released this 29 Jun 12:20

Added

  • Image Upload Hook: Introduced imageUploaded output (emits AteImageUploadResult when an image is successfully uploaded and inserted).

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Jun 14:45

Added

  • Global Editor Registry: Introduced AteEditorRegistry and AteEditorRef to control and track editor instances anywhere in the application via standard Dependency Injection. Exposes direct facade commands (formatting, tables, exports) without raw Tiptap manipulation.

v3.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Jun 12:45

Added

  • Content Export: Introduced AteExportService for robust editor content extraction. Supports HTML to Markdown and Plain Text conversions, as well as direct exports to clipboard and file downloads. Exposed via AteEditorCommandsService.

v3.1.4

Choose a tag to compare

@github-actions github-actions released this 20 May 08:50

Fixed

  • Angular 18 Compatibility: Reverted library APIs from Angular 19+ back to Angular 18 standards:
    • Replaced provideEnvironmentInitializer() with APP_INITIALIZER in provideAteEditor() to prevent crashes on Angular 18 environments.
    • Added { allowSignalWrites: true } to all effect() blocks to fix signal write errors at runtime.
    • Fixed TypeScript compiler and builder errors under TypeScript 5.4.

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 19 May 16:24

Fixed

  • Angular 18 Compatibility: Reverted library APIs from Angular 19+ back to Angular 18 standards:
    • Replaced provideEnvironmentInitializer() with APP_INITIALIZER in provideAteEditor() to prevent crashes on Angular 18 environments.
    • Added { allowSignalWrites: true } to all effect() blocks to fix signal write errors at runtime.
    • Fixed TypeScript compiler and builder errors under TypeScript 5.4.

v3.1.3

Choose a tag to compare

@github-actions github-actions released this 30 Apr 07:41

Added

  • Selection Customization: Introduced --ate-selection-bg CSS variable to customize the editor's text selection color.
  • Refined Selection: Standardized the selection background to use --ate-primary-light-alpha by default, providing a subtle blue tint that respects the current primary color without obscuring the text.

v3.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Apr 13:13

Fixed

  • Image Upload Handler: imageUploadHandler is now invoked for pasted image files, matching toolbar and drag-and-drop upload behavior.
  • Image Insertion: Resolved a regression where images failed to insert when the cursor was positioned within existing text.

v3.1.1

Choose a tag to compare

@github-actions github-actions released this 13 Feb 13:11

Fixed

  • Image Resizing: Resolved a bug where multiple selected images were resized simultaneously. The update now precisely targets the intended node.

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Feb 11:23

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.

v3.0.3

Choose a tag to compare

@github-actions github-actions released this 10 Feb 00:59

Added

  • Multi-line Tooltips: Added AteTooltipDirective, a directive leveraging signals and tippy.js for lightweight, high-performance tooltips.
  • Platform-aware Shortcuts: Automatic detection of macOS to replace 'Ctrl' with the native '⌘' symbol in tooltips for a premium OS-native experience.
  • Tooltip Design Tokens: New CSS variables --ate-tooltip-bg and --ate-tooltip-color synchronized with code-block colors for a consistent high-contrast floating UI.