better-react-email-editor 0.1.7 → 0.1.8

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,8 +1,14 @@
1
1
  import { Extension } from '@tiptap/core';
2
2
  /**
3
3
  * Spell check only where the user is writing: the text blocks of the
4
- * selection, while the editor has focus. The rest of the email shows no red
5
- * underlines. Tiptap dispatches a transaction on focus and blur, so the
6
- * decorations follow.
4
+ * selection, while the editable area has the browser focus. The rest of the
5
+ * email shows no red underlines.
6
+ *
7
+ * Tracks DOM focus itself: `editor.isFocused` stays true while the user works
8
+ * in the sidebar or top bar (the package's focus scopes keep the selection
9
+ * alive for the properties panel).
10
+ *
11
+ * Firefox keeps underlines when a block's `spellcheck` attribute turns off, so
12
+ * spell check is disabled there altogether.
7
13
  */
8
14
  export declare const FocusedSpellcheck: Extension<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-react-email-editor",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
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",