@flogeez/angular-tiptap-editor 3.4.1 → 3.4.3
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 +17 -0
- package/esm2022/lib/components/editor/angular-tiptap-editor.component.mjs +3 -3
- package/esm2022/lib/components/slash-commands/ate-slash-commands.component.mjs +25 -1
- package/esm2022/lib/components/table-of-contents/ate-table-of-contents.component.mjs +14 -3
- package/esm2022/lib/components/table-of-contents/ate-toc-node.component.mjs +9 -4
- package/esm2022/lib/config/ate-toc.config.mjs +13 -0
- package/esm2022/lib/i18n/ateTranslationsModel.mjs +1 -1
- package/esm2022/lib/i18n/de_ateTranslations.mjs +2 -1
- package/esm2022/lib/i18n/en_ateTranslations.mjs +2 -1
- package/esm2022/lib/i18n/fr_ateTranslations.mjs +2 -1
- package/esm2022/lib/models/ate-editor-config.model.mjs +1 -1
- package/esm2022/lib/models/ate-toc.model.mjs +2 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/flogeez-angular-tiptap-editor.mjs +63 -8
- package/fesm2022/flogeez-angular-tiptap-editor.mjs.map +1 -1
- package/lib/components/editor/angular-tiptap-editor.component.d.ts +1 -0
- package/lib/components/slash-commands/ate-slash-commands.component.d.ts +1 -0
- package/lib/components/table-of-contents/ate-table-of-contents.component.d.ts +3 -9
- package/lib/config/ate-toc.config.d.ts +5 -0
- package/lib/i18n/ateTranslationsModel.d.ts +1 -0
- package/lib/models/ate-editor-config.model.d.ts +3 -0
- package/lib/models/ate-toc.model.d.ts +26 -0
- package/lib/services/ate-i18n.service.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ 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.4.3] - 2026-07-31
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Slash Commands Inline Suggestion Decoration**: Added native ProseMirror inline suggestion decoration badge (`.ate-slash-decoration`)
|
|
13
|
+
|
|
14
|
+
## [3.4.2] - 2026-07-31
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **`maxDepth` Heading Filtering (`AteTableOfContentsComponent`)**: Added `maxDepth` input (1 to 6, default: `6`) to filter extracted headings up to a specific level (e.g. H1 to H4). Supported across `AteTableOfContentsComponent`, `AteTocNodeComponent`, and `AteEditorConfig`.
|
|
19
|
+
|
|
20
|
+
### Refactored
|
|
21
|
+
|
|
22
|
+
- **TOC Models & Configuration Architecture**: Extracted `AteTocConfig`, `AteTocItem`, and `AteTocVariant` into `lib/models/ate-toc.model.ts` and `ATE_DEFAULT_TOC_CONFIG` into `lib/config/ate-toc.config.ts`.
|
|
23
|
+
- **Cleaned Public Exports**: Cleaned up duplicate re-exports in `public-api.ts` to export all TOC types and configurations directly from the unified models and config modules.
|
|
24
|
+
|
|
8
25
|
## [3.4.1] - 2026-07-31
|
|
9
26
|
|
|
10
27
|
### Added
|