@flogeez/angular-tiptap-editor 3.0.2 → 3.1.0
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/CHANGELOG.md +22 -0
- package/README.md +71 -723
- package/fesm2022/flogeez-angular-tiptap-editor.mjs +630 -56
- package/fesm2022/flogeez-angular-tiptap-editor.mjs.map +1 -1
- package/index.d.ts +79 -19
- package/package.json +1 -1
- package/src/lib/styles/ate-bubble-menu.global.css +13 -9
- package/src/lib/styles/ate-tooltip.global.css +47 -0
- package/src/lib/styles/index.css +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ All notable changes to `@flogeez/angular-tiptap-editor` will be documented in th
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), with the exception that the major version is specifically aligned with the major version of [Tiptap](https://tiptap.dev).
|
|
7
7
|
|
|
8
|
+
## [3.1.0] - 2026-02-13
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Block Controls (Plus + Drag)**: Introduced new Notion-like block controls accessible via the `blockControls` property in `AteEditorConfig`.
|
|
13
|
+
- **Modes**: Supports `inside` (fixed space reserved inside the editor) and `outside` (floating outside the editor for a full-width look).
|
|
14
|
+
- **Customization**: Introduced `--ate-content-gutter` CSS variable (defaults to `54px` in `inside` mode) to allow precise control over the reserved width.
|
|
15
|
+
- **Drag Handle**: A 6-dots handle for native ProseMirror drag-and-drop block reordering.
|
|
16
|
+
- **Quick Add**: A plus button that instantly triggers the slash commands menu at the current block position.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **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.
|
|
21
|
+
|
|
22
|
+
## [3.0.3] - 2026-02-09
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Multi-line Tooltips**: Added `AteTooltipDirective`, a directive leveraging signals and `tippy.js` for lightweight, high-performance tooltips.
|
|
27
|
+
- **Platform-aware Shortcuts**: Automatic detection of macOS to replace 'Ctrl' with the native '⌘' symbol in tooltips for a premium OS-native experience.
|
|
28
|
+
- **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.
|
|
29
|
+
|
|
8
30
|
## [3.0.2] - 2026-02-09
|
|
9
31
|
|
|
10
32
|
### Added
|