Releases: FloGeez/angular-tiptap-editor
Releases · FloGeez/angular-tiptap-editor
Release list
v3.2.1
v3.2.0
Added
- Global Editor Registry: Introduced
AteEditorRegistryandAteEditorRefto 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
Added
- Content Export: Introduced
AteExportServicefor robust editor content extraction. Supports HTML to Markdown and Plain Text conversions, as well as direct exports to clipboard and file downloads. Exposed viaAteEditorCommandsService.
v3.1.4
Fixed
- Angular 18 Compatibility: Reverted library APIs from Angular 19+ back to Angular 18 standards:
- Replaced
provideEnvironmentInitializer()withAPP_INITIALIZERinprovideAteEditor()to prevent crashes on Angular 18 environments. - Added
{ allowSignalWrites: true }to alleffect()blocks to fix signal write errors at runtime. - Fixed TypeScript compiler and builder errors under TypeScript 5.4.
- Replaced
v2.4.1
Fixed
- Angular 18 Compatibility: Reverted library APIs from Angular 19+ back to Angular 18 standards:
- Replaced
provideEnvironmentInitializer()withAPP_INITIALIZERinprovideAteEditor()to prevent crashes on Angular 18 environments. - Added
{ allowSignalWrites: true }to alleffect()blocks to fix signal write errors at runtime. - Fixed TypeScript compiler and builder errors under TypeScript 5.4.
- Replaced
v3.1.3
Added
- Selection Customization: Introduced
--ate-selection-bgCSS variable to customize the editor's text selection color. - Refined Selection: Standardized the selection background to use
--ate-primary-light-alphaby default, providing a subtle blue tint that respects the current primary color without obscuring the text.
v3.1.2
Fixed
- Image Upload Handler:
imageUploadHandleris 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
Fixed
- Image Resizing: Resolved a bug where multiple selected images were resized simultaneously. The update now precisely targets the intended node.
v3.1.0
Added
- Block Controls (Plus + Drag): Introduced new Notion-like block controls accessible via the
blockControlsproperty inAteEditorConfig.- Modes: Supports
inside(fixed space reserved inside the editor) andoutside(floating outside the editor for a full-width look). - Customization: Introduced
--ate-content-gutterCSS variable (defaults to54pxininsidemode) 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.
- Modes: Supports
Changed
- Padding Logic: Refactored
--ate-content-paddinginto--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
Added
- Multi-line Tooltips: Added
AteTooltipDirective, a directive leveraging signals andtippy.jsfor 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-bgand--ate-tooltip-colorsynchronized with code-block colors for a consistent high-contrast floating UI.