better-react-email-editor 0.1.0 → 0.1.2

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.
@@ -4,6 +4,8 @@ export interface LayersPanelProps extends StyleProps {
4
4
  onClose?: () => void;
5
5
  /** Panel title. Defaults to the localized "Layers". */
6
6
  title?: string;
7
+ /** Shows the "Expand all" / "Collapse all" buttons in the header. Default: true. */
8
+ expandCollapseButtons?: boolean;
7
9
  }
8
10
  /** Tree of the email (Photoshop-like layers): select, hover, reorder and nest blocks by drag & drop. */
9
- export declare function LayersPanel({ onClose, title, className, style }: LayersPanelProps): import("react").JSX.Element;
11
+ export declare function LayersPanel({ onClose, title, expandCollapseButtons, className, style }: LayersPanelProps): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { Extension } from '@tiptap/core';
2
+ /**
3
+ * The package's Mod-a inside a column selects the whole column with a
4
+ * TextSelection whose ends sit on the column itself, not in text. Deleting it
5
+ * (Delete, Backspace, cut) empties the column, but the mapped selection then
6
+ * lands outside it: on the next block as a NodeSelection (the next key
7
+ * replaces that block) or in the next column. Put the caret back in the
8
+ * emptied column instead.
9
+ */
10
+ export declare const SelectAllFix: Extension<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-react-email-editor",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Drag & drop email builder for React (Unlayer-style), built on @react-email/editor. Modular components, English and French included.",
5
5
  "keywords": [
6
6
  "react",