easy-email-pro-editor 1.49.7 → 1.50.0

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.
@@ -1,6 +1,8 @@
1
1
  import React from "react";
2
2
  import { RenderElementProps } from "slate-react";
3
- export declare const DraggingPlaceholderWrapper: ({ children, attributes, }: {
3
+ export declare const ChildrenWithPlaceholderWrapper: ({ children, attributes, placeholder, element, }: {
4
4
  children: React.ReactNode;
5
5
  attributes: RenderElementProps["attributes"];
6
+ placeholder: React.ReactNode;
7
+ element: RenderElementProps["element"];
6
8
  }) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Element } from "easy-email-pro-core";
2
+ import React from "react";
3
+ export declare const CurrentElementContext: React.Context<{
4
+ currentElement: Element;
5
+ }>;
6
+ export declare const CurrentElementProvider: ({ children, currentElement, }: {
7
+ children: React.ReactNode;
8
+ currentElement: Element;
9
+ }) => React.JSX.Element;
@@ -16,7 +16,7 @@ export declare class Group extends BaseElement<GroupElement> {
16
16
  "padding-left"?: string | undefined;
17
17
  "padding-right"?: string | undefined;
18
18
  "background-color"?: string | undefined;
19
- direction?: "rtl" | "ltr" | undefined;
19
+ direction?: "ltr" | "rtl" | undefined;
20
20
  "vertical-align"?: "top" | "bottom" | "middle" | undefined;
21
21
  "css-class"?: string | undefined;
22
22
  "mj-class"?: string | undefined;
@@ -5,11 +5,9 @@ import { BaseElement } from "../BaseElement";
5
5
  export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
6
6
  componentType: string;
7
7
  static defaultAttributes: {
8
- children?: import("react").ReactNode;
9
- dir?: string | undefined;
10
- className?: string | undefined;
11
8
  id?: string | undefined;
12
9
  title?: string | undefined;
10
+ children?: import("react").ReactNode;
13
11
  style?: string | undefined;
14
12
  manifest?: string | undefined;
15
13
  defaultChecked?: boolean | undefined;
@@ -18,8 +16,10 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
18
16
  suppressHydrationWarning?: boolean | undefined;
19
17
  accessKey?: string | undefined;
20
18
  autoFocus?: boolean | undefined;
19
+ className?: string | undefined;
21
20
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
22
21
  contextMenu?: string | undefined;
22
+ dir?: string | undefined;
23
23
  draggable?: (boolean | "true" | "false") | undefined;
24
24
  hidden?: boolean | undefined;
25
25
  lang?: string | undefined;
@@ -53,7 +53,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -279,11 +279,9 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
279
279
  renderElement(): import("react").DOMElement<Pick<{
280
280
  style: any;
281
281
  "data-slate-block": string;
282
- children?: import("react").ReactNode;
283
- dir?: string | undefined;
284
- className?: string | undefined;
285
282
  id?: string | undefined;
286
283
  title?: string | undefined;
284
+ children?: import("react").ReactNode;
287
285
  manifest?: string | undefined;
288
286
  defaultChecked?: boolean | undefined;
289
287
  defaultValue?: string | number | readonly string[] | undefined;
@@ -291,8 +289,10 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
291
289
  suppressHydrationWarning?: boolean | undefined;
292
290
  accessKey?: string | undefined;
293
291
  autoFocus?: boolean | undefined;
292
+ className?: string | undefined;
294
293
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
295
294
  contextMenu?: string | undefined;
295
+ dir?: string | undefined;
296
296
  draggable?: (boolean | "true" | "false") | undefined;
297
297
  hidden?: boolean | undefined;
298
298
  lang?: string | undefined;
@@ -326,7 +326,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
326
326
  results?: number | undefined;
327
327
  security?: string | undefined;
328
328
  unselectable?: "on" | "off" | undefined;
329
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
329
+ inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
330
330
  is?: string | undefined;
331
331
  "aria-activedescendant"?: string | undefined;
332
332
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -552,5 +552,5 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
552
552
  'data-slate-inline'?: true | undefined;
553
553
  'data-slate-void'?: true | undefined;
554
554
  ref: any;
555
- }, "children" | "data-slate-node" | "data-slate-inline" | "data-slate-void" | "dir" | "ref" | "className" | "id" | "title" | "style" | "manifest" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css-class" | "mj-class" | "data-slate-block">, Element>;
555
+ }, "id" | "title" | "children" | "style" | "manifest" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css-class" | "mj-class" | "ref" | "data-slate-block" | "data-slate-node" | "data-slate-inline" | "data-slate-void">, Element>;
556
556
  }
@@ -5,11 +5,9 @@ import React from "react";
5
5
  export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
6
6
  componentType: string;
7
7
  static defaultAttributes: {
8
- children?: React.ReactNode;
9
- dir?: string | undefined;
10
- className?: string | undefined;
11
8
  id?: string | undefined;
12
9
  title?: string | undefined;
10
+ children?: React.ReactNode;
13
11
  style?: CSSProperties | undefined;
14
12
  manifest?: string | undefined;
15
13
  defaultChecked?: boolean | undefined;
@@ -18,8 +16,10 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
18
16
  suppressHydrationWarning?: boolean | undefined;
19
17
  accessKey?: string | undefined;
20
18
  autoFocus?: boolean | undefined;
19
+ className?: string | undefined;
21
20
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
22
21
  contextMenu?: string | undefined;
22
+ dir?: string | undefined;
23
23
  draggable?: (boolean | "true" | "false") | undefined;
24
24
  hidden?: boolean | undefined;
25
25
  lang?: string | undefined;
@@ -53,7 +53,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -41,7 +41,7 @@ export declare class Section extends BaseElement<SectionElement> {
41
41
  "background-url"?: string | undefined;
42
42
  border?: string | undefined;
43
43
  "border-radius"?: string | undefined;
44
- direction?: "rtl" | "ltr" | undefined;
44
+ direction?: "ltr" | "rtl" | undefined;
45
45
  "full-width"?: string | undefined;
46
46
  "text-align"?: string | undefined;
47
47
  "css-class"?: string | undefined;
@@ -47,7 +47,7 @@ export declare class Table extends BaseElement<TableElement> {
47
47
  border?: string | undefined;
48
48
  cellpadding?: string | undefined;
49
49
  cellspacing?: string | undefined;
50
- "table-layout"?: "fixed" | "inherit" | "auto" | "initial" | undefined;
50
+ "table-layout"?: "inherit" | "auto" | "fixed" | "initial" | undefined;
51
51
  "css-class"?: string | undefined;
52
52
  "mj-class"?: string | undefined;
53
53
  };
@@ -16,7 +16,7 @@ export declare class Wrapper extends AtomSection {
16
16
  "background-url"?: string | undefined;
17
17
  border?: string | undefined;
18
18
  "border-radius"?: string | undefined;
19
- direction?: "rtl" | "ltr" | undefined;
19
+ direction?: "ltr" | "rtl" | undefined;
20
20
  "full-width"?: string | undefined;
21
21
  "text-align"?: string | undefined;
22
22
  "css-class"?: string | undefined;
@@ -5,11 +5,9 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
5
5
  componentType: string;
6
6
  allowedAttributes: {};
7
7
  defaultAttributes: {
8
- children?: React.ReactNode;
9
- dir?: string | undefined;
10
- className?: string | undefined;
11
8
  id?: string | undefined;
12
9
  title?: string | undefined;
10
+ children?: React.ReactNode;
13
11
  style?: React.CSSProperties | undefined;
14
12
  manifest?: string | undefined;
15
13
  defaultChecked?: boolean | undefined;
@@ -18,8 +16,10 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
18
16
  suppressHydrationWarning?: boolean | undefined;
19
17
  accessKey?: string | undefined;
20
18
  autoFocus?: boolean | undefined;
19
+ className?: string | undefined;
21
20
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
22
21
  contextMenu?: string | undefined;
22
+ dir?: string | undefined;
23
23
  draggable?: (boolean | "true" | "false") | undefined;
24
24
  hidden?: boolean | undefined;
25
25
  lang?: string | undefined;
@@ -53,7 +53,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -56,7 +56,7 @@ export declare class Table2 extends BaseElement<StandardTable2Element> {
56
56
  border?: string | undefined;
57
57
  cellpadding?: string | undefined;
58
58
  cellspacing?: string | undefined;
59
- "table-layout"?: "fixed" | "inherit" | "auto" | "initial" | undefined;
59
+ "table-layout"?: "inherit" | "auto" | "fixed" | "initial" | undefined;
60
60
  "css-class"?: string | undefined;
61
61
  "mj-class"?: string | undefined;
62
62
  };
@@ -16,7 +16,7 @@ export declare class Wrapper extends AtomSection {
16
16
  "background-url"?: string | undefined;
17
17
  border?: string | undefined;
18
18
  "border-radius"?: string | undefined;
19
- direction?: "rtl" | "ltr" | undefined;
19
+ direction?: "ltr" | "rtl" | undefined;
20
20
  "full-width"?: string | undefined;
21
21
  "text-align"?: string | undefined;
22
22
  "css-class"?: string | undefined;
@@ -1,6 +1,7 @@
1
1
  import { Element } from "easy-email-pro-core";
2
2
  import React from "react";
3
3
  import { BaseElementProps } from "../BaseElement";
4
+ import { RenderElementProps } from "slate-react";
4
5
  export declare const RenderWithColumn: <T extends Element>({ attributes, componentType, getHtmlAttributes, children, placeholder, ...rest }: {
5
6
  attributes: {
6
7
  'data-slate-node': "element";
@@ -14,4 +15,5 @@ export declare const RenderWithColumn: <T extends Element>({ attributes, compone
14
15
  getHtmlAttributes: (attributes: Record<string, any> | string) => {};
15
16
  children: React.ReactElement;
16
17
  placeholder: React.ReactNode | undefined;
18
+ element: RenderElementProps["element"];
17
19
  }) => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export declare const ExternalComponents: {
3
+ ChildrenWithPlaceholderWrapper: ({ children, attributes, placeholder, element, }: {
4
+ children: import("react").ReactNode;
5
+ attributes: {
6
+ 'data-slate-node': "element";
7
+ 'data-slate-inline'?: true | undefined;
8
+ 'data-slate-void'?: true | undefined;
9
+ dir?: "rtl" | undefined;
10
+ ref: any;
11
+ };
12
+ placeholder: import("react").ReactNode;
13
+ element: import("../easy-email-pro-core/lib/typings").Element;
14
+ }) => import("react").JSX.Element;
15
+ };
@@ -7,3 +7,4 @@ export * from "./useEditorProps";
7
7
  export * from "./useForceUpdate";
8
8
  export * from "./useMergeTagsData";
9
9
  export * from "./useEditorActions";
10
+ export * from "./useCurrentElement";
@@ -0,0 +1,3 @@
1
+ export declare const useCurrentElement: () => {
2
+ currentElement: import("../easy-email-pro-core/lib/typings").Element;
3
+ };
@@ -10,10 +10,10 @@ export declare const useEditorActions: () => {
10
10
  setLock: import("react").Dispatch<import("react").SetStateAction<boolean>>;
11
11
  setStandaloneElementSaveButton: import("react").Dispatch<import("react").SetStateAction<Partial<{
12
12
  htmlType?: "button" | "submit" | "reset" | undefined;
13
- } & import("@arco-design/web-react/es/Button/interface").BaseButtonProps & Omit<import("react").ButtonHTMLAttributes<any>, "className" | "type" | "onClick"> & {
13
+ } & import("@arco-design/web-react/es/Button/interface").BaseButtonProps & Omit<import("react").ButtonHTMLAttributes<any>, "type" | "className" | "onClick"> & {
14
14
  href: string;
15
15
  target?: string | undefined;
16
16
  anchorProps?: import("react").HTMLProps<HTMLAnchorElement> | undefined;
17
- } & Omit<import("react").AnchorHTMLAttributes<any>, "className" | "type" | "onClick">> | null>>;
17
+ } & Omit<import("react").AnchorHTMLAttributes<any>, "type" | "className" | "onClick">> | null>>;
18
18
  setDragoverDirection: import("react").Dispatch<import("react").SetStateAction<"top" | "bottom" | "middle" | null>>;
19
19
  };
@@ -1,4 +1,3 @@
1
- export { DraggingPlaceholderWrapper } from "./components/DraggingPlaceholderWrapper";
2
1
  export { useElement } from "./components/Elements/useElement";
3
2
  export { useBlockComponent, BlockComponentProvider, } from "./components/Elements/components/BlockComponentProvider";
4
3
  export type { BaseElementProps } from "./components/Elements/BaseElement";
@@ -14,3 +13,4 @@ export * from "./hooks";
14
13
  export * from "./constants";
15
14
  export * from "./contexts";
16
15
  export * from "./store";
16
+ export * from "./components";
@@ -7,11 +7,11 @@ export declare const useUniversalElement: () => import("../easy-email-pro-core/l
7
7
  export declare const useUniversalElementEditing: () => boolean;
8
8
  export declare const useStandaloneElementSaveButton: () => Partial<{
9
9
  htmlType?: "button" | "submit" | "reset" | undefined;
10
- } & import("@arco-design/web-react/es/Button/interface").BaseButtonProps & Omit<import("react").ButtonHTMLAttributes<any>, "className" | "type" | "onClick"> & {
10
+ } & import("@arco-design/web-react/es/Button/interface").BaseButtonProps & Omit<import("react").ButtonHTMLAttributes<any>, "type" | "className" | "onClick"> & {
11
11
  href: string;
12
12
  target?: string | undefined;
13
13
  anchorProps?: import("react").HTMLProps<HTMLAnchorElement> | undefined;
14
- } & Omit<import("react").AnchorHTMLAttributes<any>, "className" | "type" | "onClick">> | null | undefined;
14
+ } & Omit<import("react").AnchorHTMLAttributes<any>, "type" | "className" | "onClick">> | null | undefined;
15
15
  export declare const useStandaloneElementPath: () => import("slate").Path | null | undefined;
16
16
  export declare const useStandaloneElementEditing: () => boolean;
17
17
  export declare const useStandaloneElement: () => import("../easy-email-pro-core/lib/typings").Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.49.7",
3
+ "version": "1.50.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"