better-react-email-editor 0.1.1 → 0.1.3
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1035 -998
- package/dist/index.js.map +1 -1
- package/dist/types/core/select-all.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
/**
|
|
3
|
+
* Select-all that keeps the email's structure.
|
|
4
|
+
*
|
|
5
|
+
* The package's Mod-a inside a column selects the whole column with a
|
|
6
|
+
* TextSelection whose ends sit on the column itself, not in text. Deleting it
|
|
7
|
+
* (Delete, Backspace, cut) empties the column, but the mapped selection then
|
|
8
|
+
* lands outside it: on the next block as a NodeSelection (the next key
|
|
9
|
+
* replaces that block) or in the next column. Put the caret back in the
|
|
10
|
+
* emptied column instead.
|
|
11
|
+
*/
|
|
12
|
+
export declare const SelectAllFix: Extension<any, any>;
|
package/package.json
CHANGED