@flogeez/angular-tiptap-editor 3.4.0 → 3.4.1
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 +16 -0
- package/esm2022/lib/components/editor/angular-tiptap-editor.component.mjs +3 -1
- package/esm2022/lib/components/table-of-contents/ate-table-of-contents.component.mjs +8 -4
- package/esm2022/lib/components/table-of-contents/ate-toc-node.component.mjs +59 -0
- package/esm2022/lib/config/ate-slash-commands.config.mjs +10 -1
- package/esm2022/lib/i18n/ateTranslationsModel.mjs +1 -1
- package/esm2022/lib/i18n/de_ateTranslations.mjs +6 -1
- package/esm2022/lib/i18n/en_ateTranslations.mjs +6 -1
- package/esm2022/lib/i18n/fr_ateTranslations.mjs +6 -1
- package/esm2022/lib/node-view/ate-angular-node-view.mjs +8 -2
- package/esm2022/lib/node-view/ate-node-view.renderer.mjs +11 -6
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/flogeez-angular-tiptap-editor.mjs +8380 -8286
- package/fesm2022/flogeez-angular-tiptap-editor.mjs.map +1 -1
- package/lib/components/table-of-contents/ate-toc-node.component.d.ts +19 -0
- package/lib/config/ate-slash-commands.config.d.ts +1 -1
- package/lib/i18n/ateTranslationsModel.d.ts +5 -0
- package/lib/node-view/ate-angular-node-view.d.ts +4 -0
- package/lib/services/ate-i18n.service.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ 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.1] - 2026-07-31
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Table of Contents Slash Command & NodeView (`AteTocNodeExtension`)**: Integrated inline Table of Contents insertion via Slash Commands (`/tableOfContents` / `/toc`).
|
|
13
|
+
- Rendered inline inside ProseMirror using an Angular NodeView (`AteTocNodeComponent`).
|
|
14
|
+
- Full i18n search keyword support for English, French, and German.
|
|
15
|
+
- Exported `AteTocNodeComponent`, `AteTocNodeOptions`, and `getAteTocNodeExtension` for easy customization.
|
|
16
|
+
- **`AteAngularNodeView.attributes` Helper Signal**: Added a reactive `public attributes: Signal<Record<string, unknown>>` signal on `AteAngularNodeView` for clean, direct access to node attributes in custom Angular NodeView components (`this.attributes()['key']`).
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **Angular 18 NodeView Renderer Input Syncing**: Fixed an Angular `NG0303` runtime error in `AteNodeViewRenderer` when syncing dynamic Tiptap node attributes by checking declared component inputs metadata (`ɵcmp.inputs`) before invoking `setInput()`.
|
|
21
|
+
- **Inline TOC Scroll Highlight Guard**: Disabled active heading scroll tracking in `AteTableOfContentsComponent` when rendered inline (`floating: false`), keeping inline TOC summaries static within the document flow.
|
|
22
|
+
- **Opt-in Slash Command Defaults**: Configured `tableOfContents: false` by default in `ATE_DEFAULT_SLASH_COMMANDS_CONFIG` to maintain a lightweight default slash menu while enabling easy opt-in activation.
|
|
23
|
+
|
|
8
24
|
## [3.4.0] - 2026-07-30
|
|
9
25
|
|
|
10
26
|
### Added
|