@flogeez/angular-tiptap-editor 2.4.0 → 3.0.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 +22 -0
- package/README.md +3 -0
- package/fesm2022/flogeez-angular-tiptap-editor.mjs +190 -150
- package/fesm2022/flogeez-angular-tiptap-editor.mjs.map +1 -1
- package/index.d.ts +62 -83
- package/package.json +13 -21
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _flogeez_angular_tiptap_editor from '@flogeez/angular-tiptap-editor';
|
|
2
|
-
import { Editor, NodeConfig, Extension, Node as Node$2, Mark, EditorOptions, JSONContent } from '@tiptap/core';
|
|
3
2
|
import * as _angular_core from '@angular/core';
|
|
4
3
|
import { Injector, Type, AfterViewInit, OnDestroy, ElementRef, EnvironmentProviders, InjectionToken, Signal } from '@angular/core';
|
|
4
|
+
import { Editor, NodeConfig, Extension, Node as Node$2, Mark, EditorOptions, JSONContent } from '@tiptap/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { Node as Node$1 } from '@tiptap/pm/model';
|
|
7
|
-
import { Decoration, EditorView, NodeView } from '@tiptap/pm/view';
|
|
8
7
|
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
import { Decoration, EditorView, NodeView } from '@tiptap/pm/view';
|
|
9
9
|
|
|
10
10
|
type SupportedLocale = "en" | "fr" | (string & {});
|
|
11
11
|
interface AteTranslations {
|
|
@@ -934,18 +934,18 @@ interface AteEditorConfig {
|
|
|
934
934
|
theme?: "light" | "dark" | "auto";
|
|
935
935
|
/** Display mode: classic or seamless (no borders/background) */
|
|
936
936
|
mode?: "classic" | "seamless";
|
|
937
|
-
/** Editor height (e.g., '300px', 'auto') */
|
|
938
|
-
height?: string;
|
|
937
|
+
/** Editor height (e.g., '300px', 300, 'auto') */
|
|
938
|
+
height?: string | number;
|
|
939
939
|
/** Focus position on initialization */
|
|
940
940
|
autofocus?: "start" | "end" | "all" | boolean | number;
|
|
941
941
|
/** Placeholder text displayed when the editor is empty */
|
|
942
942
|
placeholder?: string;
|
|
943
943
|
/** Initial editing state (if false, the editor is read-only) */
|
|
944
944
|
editable?: boolean;
|
|
945
|
-
/** Minimum editor height (e.g., '200px') */
|
|
946
|
-
minHeight?: string;
|
|
947
|
-
/** Maximum editor height (e.g., '500px') */
|
|
948
|
-
maxHeight?: string;
|
|
945
|
+
/** Minimum editor height (e.g., '200px', 200) */
|
|
946
|
+
minHeight?: string | number;
|
|
947
|
+
/** Maximum editor height (e.g., '500px', 500) */
|
|
948
|
+
maxHeight?: string | number;
|
|
949
949
|
/** If true, the editor takes 100% of the parent container's height */
|
|
950
950
|
fillContainer?: boolean;
|
|
951
951
|
/** Disabled state (often used with forms) */
|
|
@@ -1036,44 +1036,44 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1036
1036
|
/** Configuration globale de l'éditeur */
|
|
1037
1037
|
config: _angular_core.InputSignal<AteEditorConfig>;
|
|
1038
1038
|
content: _angular_core.InputSignal<string>;
|
|
1039
|
-
placeholder: _angular_core.InputSignal<string>;
|
|
1040
|
-
editable: _angular_core.InputSignal<boolean>;
|
|
1041
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
1042
|
-
minHeight: _angular_core.InputSignal<number>;
|
|
1043
|
-
height: _angular_core.InputSignal<number | undefined>;
|
|
1044
|
-
maxHeight: _angular_core.InputSignal<number | undefined>;
|
|
1045
|
-
fillContainer: _angular_core.InputSignal<boolean>;
|
|
1046
|
-
showToolbar: _angular_core.InputSignal<boolean>;
|
|
1047
|
-
showFooter: _angular_core.InputSignal<boolean>;
|
|
1048
|
-
showCharacterCount: _angular_core.InputSignal<boolean>;
|
|
1049
|
-
showWordCount: _angular_core.InputSignal<boolean>;
|
|
1039
|
+
placeholder: _angular_core.InputSignal<string | undefined>;
|
|
1040
|
+
editable: _angular_core.InputSignal<boolean | undefined>;
|
|
1041
|
+
disabled: _angular_core.InputSignal<boolean | undefined>;
|
|
1042
|
+
minHeight: _angular_core.InputSignal<string | number | undefined>;
|
|
1043
|
+
height: _angular_core.InputSignal<string | number | undefined>;
|
|
1044
|
+
maxHeight: _angular_core.InputSignal<string | number | undefined>;
|
|
1045
|
+
fillContainer: _angular_core.InputSignal<boolean | undefined>;
|
|
1046
|
+
showToolbar: _angular_core.InputSignal<boolean | undefined>;
|
|
1047
|
+
showFooter: _angular_core.InputSignal<boolean | undefined>;
|
|
1048
|
+
showCharacterCount: _angular_core.InputSignal<boolean | undefined>;
|
|
1049
|
+
showWordCount: _angular_core.InputSignal<boolean | undefined>;
|
|
1050
1050
|
maxCharacters: _angular_core.InputSignal<number | undefined>;
|
|
1051
|
-
enableOfficePaste: _angular_core.InputSignal<boolean>;
|
|
1052
|
-
enableSlashCommands: _angular_core.InputSignal<boolean>;
|
|
1053
|
-
slashCommands: _angular_core.InputSignal<AteSlashCommandsConfig>;
|
|
1051
|
+
enableOfficePaste: _angular_core.InputSignal<boolean | undefined>;
|
|
1052
|
+
enableSlashCommands: _angular_core.InputSignal<boolean | undefined>;
|
|
1053
|
+
slashCommands: _angular_core.InputSignal<AteSlashCommandsConfig | undefined>;
|
|
1054
1054
|
customSlashCommands: _angular_core.InputSignal<AteCustomSlashCommands | undefined>;
|
|
1055
1055
|
locale: _angular_core.InputSignal<SupportedLocale | undefined>;
|
|
1056
|
-
autofocus: _angular_core.InputSignal<number | boolean | "start" | "end" | "all">;
|
|
1057
|
-
seamless: _angular_core.InputSignal<boolean>;
|
|
1058
|
-
floatingToolbar: _angular_core.InputSignal<boolean>;
|
|
1059
|
-
showEditToggle: _angular_core.InputSignal<boolean>;
|
|
1060
|
-
spellcheck: _angular_core.InputSignal<boolean>;
|
|
1061
|
-
tiptapExtensions: _angular_core.InputSignal<(
|
|
1062
|
-
tiptapOptions: _angular_core.InputSignal<Partial<EditorOptions
|
|
1063
|
-
showBubbleMenu: _angular_core.InputSignal<boolean>;
|
|
1064
|
-
bubbleMenu: _angular_core.InputSignal<Partial<AteBubbleMenuConfig
|
|
1065
|
-
showImageBubbleMenu: _angular_core.InputSignal<boolean>;
|
|
1066
|
-
imageBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"separator" | "changeImage" | "resizeSmall" | "resizeMedium" | "resizeLarge" | "resizeOriginal" | "deleteImage", boolean
|
|
1067
|
-
toolbar: _angular_core.InputSignal<Partial<AteToolbarConfig
|
|
1068
|
-
showTableBubbleMenu: _angular_core.InputSignal<boolean>;
|
|
1069
|
-
tableBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"addColumnBefore" | "addColumnAfter" | "deleteColumn" | "addRowBefore" | "addRowAfter" | "deleteRow" | "deleteTable" | "toggleHeaderColumn" | "toggleHeaderRow" | "separator", boolean
|
|
1070
|
-
showCellBubbleMenu: _angular_core.InputSignal<boolean>;
|
|
1071
|
-
cellBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"mergeCells" | "splitCell", boolean
|
|
1056
|
+
autofocus: _angular_core.InputSignal<number | boolean | "start" | "end" | "all" | undefined>;
|
|
1057
|
+
seamless: _angular_core.InputSignal<boolean | undefined>;
|
|
1058
|
+
floatingToolbar: _angular_core.InputSignal<boolean | undefined>;
|
|
1059
|
+
showEditToggle: _angular_core.InputSignal<boolean | undefined>;
|
|
1060
|
+
spellcheck: _angular_core.InputSignal<boolean | undefined>;
|
|
1061
|
+
tiptapExtensions: _angular_core.InputSignal<(Mark<any, any> | Node$2<any, any> | Extension<any, any>)[] | undefined>;
|
|
1062
|
+
tiptapOptions: _angular_core.InputSignal<Partial<EditorOptions> | undefined>;
|
|
1063
|
+
showBubbleMenu: _angular_core.InputSignal<boolean | undefined>;
|
|
1064
|
+
bubbleMenu: _angular_core.InputSignal<Partial<AteBubbleMenuConfig> | undefined>;
|
|
1065
|
+
showImageBubbleMenu: _angular_core.InputSignal<boolean | undefined>;
|
|
1066
|
+
imageBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"separator" | "changeImage" | "resizeSmall" | "resizeMedium" | "resizeLarge" | "resizeOriginal" | "deleteImage", boolean>>> | undefined>;
|
|
1067
|
+
toolbar: _angular_core.InputSignal<Partial<AteToolbarConfig> | undefined>;
|
|
1068
|
+
showTableBubbleMenu: _angular_core.InputSignal<boolean | undefined>;
|
|
1069
|
+
tableBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"addColumnBefore" | "addColumnAfter" | "deleteColumn" | "addRowBefore" | "addRowAfter" | "deleteRow" | "deleteTable" | "toggleHeaderColumn" | "toggleHeaderRow" | "separator", boolean>>> | undefined>;
|
|
1070
|
+
showCellBubbleMenu: _angular_core.InputSignal<boolean | undefined>;
|
|
1071
|
+
cellBubbleMenu: _angular_core.InputSignal<Partial<Partial<Record<"mergeCells" | "splitCell", boolean>>> | undefined>;
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Additionnal state calculators to extend the reactive editor state.
|
|
1074
1074
|
*/
|
|
1075
|
-
stateCalculators: _angular_core.InputSignal<AteStateCalculator[]>;
|
|
1076
|
-
imageUpload: _angular_core.InputSignal<Partial<AteImageUploadOptions
|
|
1075
|
+
stateCalculators: _angular_core.InputSignal<AteStateCalculator[] | undefined>;
|
|
1076
|
+
imageUpload: _angular_core.InputSignal<Partial<AteImageUploadOptions> | undefined>;
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Custom handler for image uploads.
|
|
1079
1079
|
* When provided, images will be processed through this handler instead of being converted to base64.
|
|
@@ -1130,7 +1130,7 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1130
1130
|
readonly finalSeamless: _angular_core.Signal<boolean>;
|
|
1131
1131
|
readonly finalEditable: _angular_core.Signal<boolean>;
|
|
1132
1132
|
readonly finalPlaceholder: _angular_core.Signal<string>;
|
|
1133
|
-
readonly finalFillContainer: _angular_core.Signal<boolean>;
|
|
1133
|
+
readonly finalFillContainer: _angular_core.Signal<boolean | undefined>;
|
|
1134
1134
|
readonly finalShowFooter: _angular_core.Signal<boolean>;
|
|
1135
1135
|
readonly finalShowEditToggle: _angular_core.Signal<boolean>;
|
|
1136
1136
|
readonly finalHeight: _angular_core.Signal<string | undefined>;
|
|
@@ -1151,22 +1151,22 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1151
1151
|
readonly finalCellBubbleMenuConfig: _angular_core.Signal<Partial<Record<"mergeCells" | "splitCell", boolean>>>;
|
|
1152
1152
|
readonly finalEnableSlashCommands: _angular_core.Signal<boolean>;
|
|
1153
1153
|
readonly finalSlashCommandsConfig: _angular_core.Signal<AteCustomSlashCommands>;
|
|
1154
|
-
readonly finalAutofocus: _angular_core.Signal<number | boolean | "start" | "end" | "all">;
|
|
1154
|
+
readonly finalAutofocus: _angular_core.Signal<number | boolean | "start" | "end" | "all" | undefined>;
|
|
1155
1155
|
readonly finalMaxCharacters: _angular_core.Signal<number | undefined>;
|
|
1156
1156
|
readonly finalShowCharacterCount: _angular_core.Signal<boolean>;
|
|
1157
1157
|
readonly finalShowWordCount: _angular_core.Signal<boolean>;
|
|
1158
1158
|
readonly finalLocale: _angular_core.Signal<SupportedLocale>;
|
|
1159
|
-
readonly finalTiptapExtensions: _angular_core.Signal<(
|
|
1159
|
+
readonly finalTiptapExtensions: _angular_core.Signal<(Mark<any, any> | Node$2<any, any> | Extension<any, any>)[]>;
|
|
1160
1160
|
readonly finalTiptapOptions: _angular_core.Signal<Partial<EditorOptions>>;
|
|
1161
1161
|
readonly finalStateCalculators: _angular_core.Signal<AteStateCalculator[]>;
|
|
1162
|
-
readonly finalAngularNodesConfig: _angular_core.Signal<
|
|
1162
|
+
readonly finalAngularNodesConfig: _angular_core.Signal<AteAngularNode[]>;
|
|
1163
1163
|
readonly finalImageUploadConfig: _angular_core.Signal<{
|
|
1164
1164
|
maxSize: number;
|
|
1165
|
-
handler?: AteImageUploadHandler;
|
|
1166
1165
|
quality: number;
|
|
1167
1166
|
maxWidth: number;
|
|
1168
1167
|
maxHeight: number;
|
|
1169
1168
|
allowedTypes: string[];
|
|
1169
|
+
handler?: AteImageUploadHandler;
|
|
1170
1170
|
enableDragDrop: boolean;
|
|
1171
1171
|
showPreview: boolean;
|
|
1172
1172
|
multiple: boolean;
|
|
@@ -1178,7 +1178,7 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1178
1178
|
private ngControl;
|
|
1179
1179
|
readonly i18nService: AteI18nService;
|
|
1180
1180
|
readonly editorCommandsService: AteEditorCommandsService;
|
|
1181
|
-
readonly editorState: _angular_core.Signal<_flogeez_angular_tiptap_editor.
|
|
1181
|
+
readonly editorState: _angular_core.Signal<_flogeez_angular_tiptap_editor.AteEditorStateSnapshot>;
|
|
1182
1182
|
private injector;
|
|
1183
1183
|
private globalConfig;
|
|
1184
1184
|
/**
|
|
@@ -1188,12 +1188,12 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1188
1188
|
readonly effectiveConfig: _angular_core.Signal<{
|
|
1189
1189
|
theme?: "light" | "dark" | "auto";
|
|
1190
1190
|
mode?: "classic" | "seamless";
|
|
1191
|
-
height?: string;
|
|
1191
|
+
height?: string | number;
|
|
1192
1192
|
autofocus?: "start" | "end" | "all" | boolean | number;
|
|
1193
1193
|
placeholder?: string;
|
|
1194
1194
|
editable?: boolean;
|
|
1195
|
-
minHeight?: string;
|
|
1196
|
-
maxHeight?: string;
|
|
1195
|
+
minHeight?: string | number;
|
|
1196
|
+
maxHeight?: string | number;
|
|
1197
1197
|
fillContainer?: boolean;
|
|
1198
1198
|
disabled?: boolean;
|
|
1199
1199
|
locale?: string;
|
|
@@ -1218,7 +1218,7 @@ declare class AngularTiptapEditorComponent implements AfterViewInit, OnDestroy {
|
|
|
1218
1218
|
slashCommands?: AteSlashCommandsConfig;
|
|
1219
1219
|
floatingToolbar?: boolean;
|
|
1220
1220
|
imageUpload?: _flogeez_angular_tiptap_editor.AteImageUploadConfig;
|
|
1221
|
-
angularNodes?:
|
|
1221
|
+
angularNodes?: AteAngularNode[];
|
|
1222
1222
|
tiptapExtensions?: (Extension | Node$2 | Mark)[];
|
|
1223
1223
|
tiptapOptions?: Partial<EditorOptions>;
|
|
1224
1224
|
stateCalculators?: AteStateCalculator[];
|
|
@@ -1464,6 +1464,16 @@ declare const ATE_DEFAULT_IMAGE_BUBBLE_MENU_CONFIG: AteImageBubbleMenuConfig;
|
|
|
1464
1464
|
declare const ATE_DEFAULT_TABLE_MENU_CONFIG: AteTableBubbleMenuConfig;
|
|
1465
1465
|
declare const ATE_DEFAULT_CELL_MENU_CONFIG: AteCellBubbleMenuConfig;
|
|
1466
1466
|
|
|
1467
|
+
/**
|
|
1468
|
+
* Ultimate default configuration for the Angular Tiptap Editor.
|
|
1469
|
+
* This serves as the 'Level 4' fallback in the configuration hierarchy:
|
|
1470
|
+
* 1. Component Inputs (Le Roi)
|
|
1471
|
+
* 2. Component [config] (Le Prince)
|
|
1472
|
+
* 3. Global provideAteEditor() (Le Duc)
|
|
1473
|
+
* 4. ATE_DEFAULT_CONFIG (Le Peuple)
|
|
1474
|
+
*/
|
|
1475
|
+
declare const ATE_DEFAULT_CONFIG: AteEditorConfig;
|
|
1476
|
+
|
|
1467
1477
|
/**
|
|
1468
1478
|
* Injection Token for global editor configuration.
|
|
1469
1479
|
*/
|
|
@@ -1640,36 +1650,5 @@ declare function createAngularComponentExtension<T = unknown>(injector: Injector
|
|
|
1640
1650
|
*/
|
|
1641
1651
|
declare function registerAngularComponent<T = unknown>(injectorOrOptions: Injector | RegisterAngularComponentOptions<T>, maybeOptions?: RegisterAngularComponentOptions<T>): Node$2;
|
|
1642
1652
|
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
/** @deprecated Renamed to `ATE_SLASH_COMMAND_KEYS`. This alias will be removed in v3.0.0. */
|
|
1647
|
-
declare const SLASH_COMMAND_KEYS: readonly ["heading1", "heading2", "heading3", "bulletList", "orderedList", "blockquote", "code", "image", "horizontalRule", "table"];
|
|
1648
|
-
/** @deprecated Renamed to `ATE_DEFAULT_SLASH_COMMANDS_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1649
|
-
declare const DEFAULT_SLASH_COMMANDS_CONFIG: AteSlashCommandsConfig;
|
|
1650
|
-
|
|
1651
|
-
/** @deprecated Renamed to `AteDiscoveryCalculator`. This alias will be removed in v3.0.0. */
|
|
1652
|
-
declare const DiscoveryCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1653
|
-
/** @deprecated Renamed to `AteImageCalculator`. This alias will be removed in v3.0.0. */
|
|
1654
|
-
declare const ImageCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1655
|
-
/** @deprecated Renamed to `AteMarksCalculator`. This alias will be removed in v3.0.0. */
|
|
1656
|
-
declare const MarksCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1657
|
-
/** @deprecated Renamed to `AteSelectionCalculator`. This alias will be removed in v3.0.0. */
|
|
1658
|
-
declare const SelectionCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1659
|
-
/** @deprecated Renamed to `AteStructureCalculator`. This alias will be removed in v3.0.0. */
|
|
1660
|
-
declare const StructureCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1661
|
-
/** @deprecated Renamed to `AteTableCalculator`. This alias will be removed in v3.0.0. */
|
|
1662
|
-
declare const TableCalculator: _flogeez_angular_tiptap_editor.AteStateCalculator;
|
|
1663
|
-
/** @deprecated Renamed to `ATE_DEFAULT_TOOLBAR_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1664
|
-
declare const DEFAULT_TOOLBAR_CONFIG: AteToolbarConfig;
|
|
1665
|
-
/** @deprecated Renamed to `ATE_DEFAULT_BUBBLE_MENU_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1666
|
-
declare const DEFAULT_BUBBLE_MENU_CONFIG: AteBubbleMenuConfig;
|
|
1667
|
-
/** @deprecated Renamed to `ATE_DEFAULT_IMAGE_BUBBLE_MENU_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1668
|
-
declare const DEFAULT_IMAGE_BUBBLE_MENU_CONFIG: Partial<Record<"separator" | "changeImage" | "resizeSmall" | "resizeMedium" | "resizeLarge" | "resizeOriginal" | "deleteImage", boolean>>;
|
|
1669
|
-
/** @deprecated Renamed to `ATE_DEFAULT_TABLE_MENU_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1670
|
-
declare const DEFAULT_TABLE_MENU_CONFIG: Partial<Record<"addColumnBefore" | "addColumnAfter" | "deleteColumn" | "addRowBefore" | "addRowAfter" | "deleteRow" | "deleteTable" | "toggleHeaderColumn" | "toggleHeaderRow" | "separator", boolean>>;
|
|
1671
|
-
/** @deprecated Renamed to `ATE_DEFAULT_CELL_MENU_CONFIG`. This alias will be removed in v3.0.0. */
|
|
1672
|
-
declare const DEFAULT_CELL_MENU_CONFIG: Partial<Record<"mergeCells" | "splitCell", boolean>>;
|
|
1673
|
-
|
|
1674
|
-
export { ATE_BUBBLE_MENU_KEYS, ATE_CELL_BUBBLE_MENU_KEYS, ATE_DEFAULT_BUBBLE_MENU_CONFIG, ATE_DEFAULT_CELL_MENU_CONFIG, ATE_DEFAULT_IMAGE_BUBBLE_MENU_CONFIG, ATE_DEFAULT_SLASH_COMMANDS_CONFIG, ATE_DEFAULT_TABLE_MENU_CONFIG, ATE_DEFAULT_TOOLBAR_CONFIG, ATE_GLOBAL_CONFIG, ATE_IMAGE_BUBBLE_MENU_KEYS, ATE_INITIAL_EDITOR_STATE, ATE_SLASH_COMMAND_KEYS, ATE_TABLE_BUBBLE_MENU_KEYS, ATE_TOOLBAR_KEYS, AngularTiptapEditorComponent, AteAngularNodeView, AteColorPickerService, AteDiscoveryCalculator, AteEditorCommandsService, AteI18nService, AteImageCalculator, AteImageService, AteLinkService, AteMarksCalculator, AteNodeViewRenderer, AteNoopValueAccessorDirective, AteSelectionCalculator, AteStructureCalculator, AteTableCalculator, AteColorPickerService as ColorPickerService, DEFAULT_BUBBLE_MENU_CONFIG, DEFAULT_CELL_MENU_CONFIG, DEFAULT_IMAGE_BUBBLE_MENU_CONFIG, DEFAULT_SLASH_COMMANDS_CONFIG, DEFAULT_TABLE_MENU_CONFIG, DEFAULT_TOOLBAR_CONFIG, DiscoveryCalculator, AteEditorCommandsService as EditorCommandsService, INITIAL_EDITOR_STATE, ImageCalculator, AteImageService as ImageService, AteLinkService as LinkService, MarksCalculator, SLASH_COMMAND_KEYS, SelectionCalculator, StructureCalculator, TableCalculator, AteI18nService as TiptapI18nService, createAngularComponentExtension, createDefaultSlashCommands, filterSlashCommands, provideAteEditor, registerAngularComponent };
|
|
1675
|
-
export type { AteAngularNode, AteBubbleMenuConfig, AteBubbleMenuKey, AteCellBubbleMenuConfig, AteCellBubbleMenuKey, AteColorEditMode, AteColorPickerSelection, AteComponentRenderOptions, AteCustomBubbleMenuItem, AteCustomSlashCommands, AteCustomToolbarItem, AteEditorConfig, AteEditorStateSnapshot, AteImageBubbleMenuConfig, AteImageBubbleMenuKey, AteImageData, AteImageUploadConfig, AteImageUploadContext, AteImageUploadHandler, AteImageUploadHandlerResult, AteImageUploadOptions, AteImageUploadResult, AteResizeOptions, AteSlashCommandItem, AteSlashCommandKey, AteSlashCommandsConfig, AteStateCalculator, AteTableBubbleMenuConfig, AteTableBubbleMenuKey, AteToolbarConfig, AteToolbarKey, AteTranslations, AteBubbleMenuConfig as BubbleMenuConfig, AteCellBubbleMenuConfig as CellBubbleMenuConfig, AteCustomSlashCommands as CustomSlashCommands, AteEditorConfig as EditorConfig, AteEditorStateSnapshot as EditorStateSnapshot, AteImageBubbleMenuConfig as ImageBubbleMenuConfig, AteImageData as ImageData, AteImageUploadHandler as ImageUploadHandler, AteImageUploadOptions as ImageUploadOptions, AteImageUploadResult as ImageUploadResult, RegisterAngularComponentOptions, AteResizeOptions as ResizeOptions, AteSlashCommandItem as SlashCommandItem, AteSlashCommandKey as SlashCommandKey, AteSlashCommandsConfig as SlashCommandsConfig, SupportedLocale, AteTableBubbleMenuConfig as TableBubbleMenuConfig, AteToolbarConfig as ToolbarConfig };
|
|
1653
|
+
export { ATE_BUBBLE_MENU_KEYS, ATE_CELL_BUBBLE_MENU_KEYS, ATE_DEFAULT_BUBBLE_MENU_CONFIG, ATE_DEFAULT_CELL_MENU_CONFIG, ATE_DEFAULT_CONFIG, ATE_DEFAULT_IMAGE_BUBBLE_MENU_CONFIG, ATE_DEFAULT_SLASH_COMMANDS_CONFIG, ATE_DEFAULT_TABLE_MENU_CONFIG, ATE_DEFAULT_TOOLBAR_CONFIG, ATE_GLOBAL_CONFIG, ATE_IMAGE_BUBBLE_MENU_KEYS, ATE_INITIAL_EDITOR_STATE, ATE_SLASH_COMMAND_KEYS, ATE_TABLE_BUBBLE_MENU_KEYS, ATE_TOOLBAR_KEYS, AngularTiptapEditorComponent, AteAngularNodeView, AteColorPickerService, AteDiscoveryCalculator, AteEditorCommandsService, AteI18nService, AteImageCalculator, AteImageService, AteLinkService, AteMarksCalculator, AteNodeViewRenderer, AteNoopValueAccessorDirective, AteSelectionCalculator, AteStructureCalculator, AteTableCalculator, createAngularComponentExtension, createDefaultSlashCommands, filterSlashCommands, provideAteEditor, registerAngularComponent };
|
|
1654
|
+
export type { AteAngularNode, AteBubbleMenuConfig, AteBubbleMenuKey, AteCellBubbleMenuConfig, AteCellBubbleMenuKey, AteColorEditMode, AteColorPickerSelection, AteComponentRenderOptions, AteCustomBubbleMenuItem, AteCustomSlashCommands, AteCustomToolbarItem, AteEditorConfig, AteEditorStateSnapshot, AteImageBubbleMenuConfig, AteImageBubbleMenuKey, AteImageData, AteImageUploadConfig, AteImageUploadContext, AteImageUploadHandler, AteImageUploadHandlerResult, AteImageUploadOptions, AteImageUploadResult, AteResizeOptions, AteSlashCommandItem, AteSlashCommandKey, AteSlashCommandsConfig, AteStateCalculator, AteTableBubbleMenuConfig, AteTableBubbleMenuKey, AteToolbarConfig, AteToolbarKey, AteTranslations, RegisterAngularComponentOptions, SupportedLocale };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flogeez/angular-tiptap-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
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",
|
|
@@ -27,26 +27,18 @@
|
|
|
27
27
|
"@angular/core": ">=18.0.0",
|
|
28
28
|
"@angular/forms": ">=18.0.0",
|
|
29
29
|
"@fontsource/material-symbols-outlined": "^5.0.0",
|
|
30
|
-
"@tiptap/core": "^
|
|
31
|
-
"@tiptap/starter-kit": "^
|
|
32
|
-
"@tiptap/
|
|
33
|
-
"@tiptap/extension-
|
|
34
|
-
"@tiptap/extension-
|
|
35
|
-
"@tiptap/extension-
|
|
36
|
-
"@tiptap/extension-
|
|
37
|
-
"@tiptap/extension-
|
|
38
|
-
"@tiptap/extension-
|
|
39
|
-
"@tiptap/extension-
|
|
40
|
-
"@tiptap/
|
|
41
|
-
"@tiptap
|
|
42
|
-
"@tiptap/extension-table": "^2.0.0",
|
|
43
|
-
"@tiptap/extension-table-cell": "^2.0.0",
|
|
44
|
-
"@tiptap/extension-table-header": "^2.0.0",
|
|
45
|
-
"@tiptap/extension-table-row": "^2.0.0",
|
|
46
|
-
"@tiptap/extension-color": "^2.0.0",
|
|
47
|
-
"@tiptap/extension-text-style": "^2.0.0",
|
|
48
|
-
"@tiptap/pm": "^2.0.0",
|
|
49
|
-
"@intevation/tiptap-extension-office-paste": "^0.1.0",
|
|
30
|
+
"@tiptap/core": "^3.0.0",
|
|
31
|
+
"@tiptap/starter-kit": "^3.0.0",
|
|
32
|
+
"@tiptap/extensions": "^3.0.0",
|
|
33
|
+
"@tiptap/extension-superscript": "^3.0.0",
|
|
34
|
+
"@tiptap/extension-subscript": "^3.0.0",
|
|
35
|
+
"@tiptap/extension-text-align": "^3.0.0",
|
|
36
|
+
"@tiptap/extension-highlight": "^3.0.0",
|
|
37
|
+
"@tiptap/extension-table": "^3.0.0",
|
|
38
|
+
"@tiptap/extension-color": "^3.0.0",
|
|
39
|
+
"@tiptap/extension-text-style": "^3.0.0",
|
|
40
|
+
"@tiptap/pm": "^3.0.0",
|
|
41
|
+
"@intevation/tiptap-extension-office-paste": "^0.1.2",
|
|
50
42
|
"tippy.js": "^6.3.7"
|
|
51
43
|
},
|
|
52
44
|
"dependencies": {
|