croco-html 4.3.4 → 4.3.6

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.
@@ -3,6 +3,7 @@ export * from './html-raw-editor/html-raw-editor.component';
3
3
  export * from './image-editor/image-editor.component';
4
4
  export * from './main-editor/main-editor.component';
5
5
  export * from './main-editor-block/main-editor-block.component';
6
+ export * from './main-editor-block/components/defined-custom-editor-block/defined-custom-editor-block.component';
6
7
  export * from './text-editor/text-editor.component';
7
8
  export * from './visual-editor/visual-editor.component';
8
9
  export * from './custom-widget-editor/custom-widget-editor.component';
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { HtmlBodyTag } from 'projects/croco-html/src/lib/models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DefinedCustomEditorBlockComponent {
5
+ tag: HtmlBodyTag;
6
+ onTagUpdated: EventEmitter<HtmlBodyTag>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefinedCustomEditorBlockComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DefinedCustomEditorBlockComponent, "croco-html-defined-custom-editor-block", never, { "tag": { "alias": "tag"; "required": true; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, true, never>;
9
+ }
@@ -3,12 +3,12 @@ import { InterfaceBlock } from "../models/InterfaceBlock";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService } from "../tag-services/IMarkUpTagService";
5
5
  export declare class BodyTagsExtensions {
6
- private static tagServices;
6
+ private static readonly _tagServices;
7
7
  static hasTagService(tagName: string, options: CrocoHtmlOptions): boolean;
8
8
  static getTagService(tagName: string, options: CrocoHtmlOptions): IMarkUpTagService;
9
9
  static convertToHtmlString(bodyTag: HtmlBodyTag, options: CrocoHtmlOptions): string;
10
10
  static bodyTagsToHtml(bodyTags: HtmlBodyTag[], options: CrocoHtmlOptions): string;
11
11
  static getBodyTags(html: string, options: CrocoHtmlOptions): HtmlBodyTag[];
12
12
  static sanitizeInnerHtml(html: string): string;
13
- static toBodyTag(data: InterfaceBlock): HtmlBodyTag;
13
+ static toBodyTag(data: InterfaceBlock, options: CrocoHtmlOptions): HtmlBodyTag;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "4.3.4",
3
+ "version": "4.3.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",