wds-editor 1.0.0 → 1.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.
@@ -8,5 +8,9 @@ export declare function serializeHtml(doc: PMNode): string;
8
8
  /** "color: rgb(37, 99, 235); margin: 0px 0px 1em;" -> "color: #2563eb; margin: 0 0 1em" */
9
9
  export declare function tidyStyle(style: string): string;
10
10
  export declare function isEmptyDoc(doc: PMNode): boolean;
11
- /** Light pretty-printing for the source view: one block per line, nested lists indented. */
11
+ /**
12
+ * Pretty-printing for the source view: one block per line, lists, quotes and tables indented,
13
+ * and list items or table cells with a single paragraph kept on one line. Text inside blocks is not touched,
14
+ * so the HTML parses back to the same document.
15
+ */
12
16
  export declare function formatHtml(html: string): string;