croco-html 20.2.1 → 20.2.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/fesm2022/croco-html.mjs +5 -4
- package/fesm2022/croco-html.mjs.map +1 -1
- package/index.d.ts +6 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -375,6 +375,11 @@ interface CrocoHtmlOptions {
|
|
|
375
375
|
* Кастомные кнопки для добавления тега
|
|
376
376
|
*/
|
|
377
377
|
editorCustomAddTagButtons?: TagItem[] | null | undefined;
|
|
378
|
+
/**
|
|
379
|
+
* Функция обратного вызова когда теги в редакторе перерасчитаны.
|
|
380
|
+
* @returns
|
|
381
|
+
*/
|
|
382
|
+
onBodyTagsRecalculated?: (data: HtmlBodyTag[]) => void;
|
|
378
383
|
}
|
|
379
384
|
interface ITagEditorViewRender {
|
|
380
385
|
/**
|
|
@@ -998,7 +1003,7 @@ declare class MainEditorBlockComponent implements OnDestroy {
|
|
|
998
1003
|
constructor(_options: CrocoHtmlOptions);
|
|
999
1004
|
save(): void;
|
|
1000
1005
|
cancelSave(): void;
|
|
1001
|
-
|
|
1006
|
+
isEditorDefined(): boolean;
|
|
1002
1007
|
deleteItem(): void;
|
|
1003
1008
|
ngOnDestroy(): void;
|
|
1004
1009
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorBlockComponent, never>;
|