easy-email-pro-editor 1.23.1 → 1.24.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.
@@ -44,10 +44,10 @@ export declare class Table extends BaseElement<TableElement> {
44
44
  "padding-left"?: string | undefined;
45
45
  "padding-right"?: string | undefined;
46
46
  border?: string | undefined;
47
+ role?: "none" | "presentation" | undefined;
47
48
  cellpadding?: string | undefined;
48
49
  cellspacing?: string | undefined;
49
- role?: "none" | "presentation" | undefined;
50
- "table-layout"?: "fixed" | "auto" | "initial" | "inherit" | undefined;
50
+ "table-layout"?: "fixed" | "inherit" | "initial" | "auto" | undefined;
51
51
  "css-class"?: string | undefined;
52
52
  "mj-class"?: string | undefined;
53
53
  };
@@ -15,3 +15,4 @@ export { Hero } from "./Hero";
15
15
  export { Table } from "./Table";
16
16
  export { Raw } from "./Raw";
17
17
  export { HtmlNode } from "./HtmlNode";
18
+ export { HtmlBlockNode } from "./HtmlBlockNode";
@@ -0,0 +1,50 @@
1
+ import React from "react";
2
+ import { Text as AtomText } from "../atom";
3
+ export declare class Blockquote extends AtomText {
4
+ static allowedAttributes: {
5
+ align: string;
6
+ "background-color": string;
7
+ color: string;
8
+ "container-background-color": string;
9
+ "font-family": string;
10
+ "font-size": string;
11
+ "font-style": string;
12
+ "font-weight": string;
13
+ height: string;
14
+ "letter-spacing": string;
15
+ "line-height": string;
16
+ "padding-bottom": string;
17
+ "padding-left": string;
18
+ "padding-right": string;
19
+ "padding-top": string;
20
+ padding: string;
21
+ "text-decoration": string;
22
+ "text-transform": string;
23
+ "vertical-align": string;
24
+ };
25
+ static defaultAttributes: {
26
+ color?: string | undefined;
27
+ "font-family"?: string | undefined;
28
+ "font-size"?: string | undefined;
29
+ "font-style"?: string | undefined;
30
+ "font-weight"?: string | undefined;
31
+ "line-height"?: string | number | undefined;
32
+ "letter-spacing"?: string | undefined;
33
+ height?: string | undefined;
34
+ "text-decoration"?: string | undefined;
35
+ "text-transform"?: string | undefined;
36
+ align?: string | undefined;
37
+ "container-background-color"?: string | undefined;
38
+ width?: string | undefined;
39
+ padding?: string | undefined;
40
+ "padding-top"?: string | undefined;
41
+ "padding-bottom"?: string | undefined;
42
+ "padding-left"?: string | undefined;
43
+ "padding-right"?: string | undefined;
44
+ "border-color": string;
45
+ "border-width": string;
46
+ "css-class"?: string | undefined;
47
+ "mj-class"?: string | undefined;
48
+ };
49
+ renderElement(): React.ReactNode | undefined;
50
+ }
@@ -9,9 +9,6 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
9
9
  children?: React.ReactNode;
10
10
  color?: string | undefined;
11
11
  rel?: string | undefined;
12
- onChange?: React.FormEventHandler<HTMLElement> | undefined;
13
- role?: React.AriaRole | undefined;
14
- content?: string | undefined;
15
12
  manifest?: string | undefined;
16
13
  defaultChecked?: boolean | undefined;
17
14
  defaultValue?: string | number | readonly string[] | undefined;
@@ -20,7 +17,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
20
17
  accessKey?: string | undefined;
21
18
  autoFocus?: boolean | undefined;
22
19
  className?: string | undefined;
23
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
20
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
24
21
  contextMenu?: string | undefined;
25
22
  dir?: string | undefined;
26
23
  draggable?: (boolean | "true" | "false") | undefined;
@@ -34,7 +31,9 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
34
31
  tabIndex?: number | undefined;
35
32
  translate?: "yes" | "no" | undefined;
36
33
  radioGroup?: string | undefined;
34
+ role?: React.AriaRole | undefined;
37
35
  about?: string | undefined;
36
+ content?: string | undefined;
38
37
  datatype?: string | undefined;
39
38
  inlist?: any;
40
39
  prefix?: string | undefined;
@@ -128,6 +127,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
128
127
  onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
129
128
  onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
130
129
  onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
130
+ onChange?: React.FormEventHandler<HTMLElement> | undefined;
131
131
  onChangeCapture?: React.FormEventHandler<HTMLElement> | undefined;
132
132
  onBeforeInput?: React.FormEventHandler<HTMLElement> | undefined;
133
133
  onBeforeInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
@@ -12,9 +12,9 @@ export declare class Hero extends AtomHero {
12
12
  "background-url"?: string | undefined;
13
13
  "border-radius"?: string | undefined;
14
14
  "vertical-align"?: string | undefined;
15
- mode?: "fluid-height" | "fixed-height" | undefined;
16
15
  "background-height"?: string | undefined;
17
16
  "background-width"?: string | undefined;
17
+ mode?: "fluid-height" | "fixed-height" | undefined;
18
18
  "css-class"?: string | undefined;
19
19
  "mj-class"?: string | undefined;
20
20
  };
@@ -41,7 +41,7 @@ export interface SlateEditor {
41
41
  }): void;
42
42
  replaceNode(options: {
43
43
  path: Path;
44
- node: Partial<Element>;
44
+ node: Partial<Element> | TextNode;
45
45
  }): void;
46
46
  moveNode(options: {
47
47
  at: Path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.23.1",
3
+ "version": "1.24.1",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"