@flogeez/angular-tiptap-editor 0.5.2 → 0.5.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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Editor, Extension, Node, Mark, EditorOptions } from '@tiptap/core';
1
+ import { Editor, Node, Extension, Mark, EditorOptions } from '@tiptap/core';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
4
4
  import { Observable } from 'rxjs';
@@ -15,6 +15,7 @@ interface TiptapTranslations {
15
15
  superscript: string;
16
16
  subscript: string;
17
17
  highlight: string;
18
+ highlightPicker: string;
18
19
  heading1: string;
19
20
  heading2: string;
20
21
  heading3: string;
@@ -43,6 +44,7 @@ interface TiptapTranslations {
43
44
  superscript: string;
44
45
  subscript: string;
45
46
  highlight: string;
47
+ highlightPicker: string;
46
48
  textColor: string;
47
49
  link: string;
48
50
  addLink: string;
@@ -178,6 +180,7 @@ declare class TiptapI18nService {
178
180
  superscript: string;
179
181
  subscript: string;
180
182
  highlight: string;
183
+ highlightPicker: string;
181
184
  heading1: string;
182
185
  heading2: string;
183
186
  heading3: string;
@@ -206,6 +209,7 @@ declare class TiptapI18nService {
206
209
  superscript: string;
207
210
  subscript: string;
208
211
  highlight: string;
212
+ highlightPicker: string;
209
213
  textColor: string;
210
214
  link: string;
211
215
  addLink: string;
@@ -646,6 +650,7 @@ interface ToolbarConfig {
646
650
  superscript?: boolean;
647
651
  subscript?: boolean;
648
652
  highlight?: boolean;
653
+ highlightPicker?: boolean;
649
654
  heading1?: boolean;
650
655
  heading2?: boolean;
651
656
  heading3?: boolean;
@@ -676,6 +681,7 @@ interface BubbleMenuConfig {
676
681
  superscript?: boolean;
677
682
  subscript?: boolean;
678
683
  highlight?: boolean;
684
+ highlightPicker?: boolean;
679
685
  textColor?: boolean;
680
686
  link?: boolean;
681
687
  separator?: boolean;
@@ -736,8 +742,8 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
736
742
  slashCommands: _angular_core.InputSignal<SlashCommandsConfig>;
737
743
  customSlashCommands: _angular_core.InputSignal<CustomSlashCommands | undefined>;
738
744
  locale: _angular_core.InputSignal<SupportedLocale | undefined>;
739
- autofocus: _angular_core.InputSignal<number | boolean | "start" | "end" | "all">;
740
- tiptapExtensions: _angular_core.InputSignal<(Extension<any, any> | Node<any, any> | Mark<any, any>)[]>;
745
+ autofocus: _angular_core.InputSignal<number | boolean | "end" | "start" | "all">;
746
+ tiptapExtensions: _angular_core.InputSignal<(Node<any, any> | Extension<any, any> | Mark<any, any>)[]>;
741
747
  tiptapOptions: _angular_core.InputSignal<Partial<EditorOptions>>;
742
748
  showBubbleMenu: _angular_core.InputSignal<boolean>;
743
749
  bubbleMenu: _angular_core.InputSignal<Partial<BubbleMenuConfig>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flogeez/angular-tiptap-editor",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A modern, customizable rich-text editor for Angular (18+), built with Tiptap and featuring complete internationalization support",
5
5
  "keywords": [
6
6
  "angular",