fable-editor 1.2.5 → 1.2.6

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.
@@ -86,8 +86,13 @@ export declare class FableEditor implements FableEditorApi {
86
86
  * descendant that has no `text-align` of its own — even one with its own
87
87
  * dir="rtl". Elements that already carry their own dir (preserved as-is by
88
88
  * the paste engine) each get their own matching text-align only if they
89
- * don't already have one, so mixed-direction content and any alignment the
90
- * user explicitly set are left untouched. */
89
+ * don't already have one. Blocks with no reliable explicit dir (missing, or
90
+ * dir="auto" from plain-text paste) get their direction from a first-strong-
91
+ * character scan of their own text instead of silently inheriting the
92
+ * editor's configured UI language — mixed-direction content and any
93
+ * alignment the user explicitly set are left untouched either way. Only
94
+ * content with no strongly-directional character anywhere falls back to the
95
+ * editor's current direction. */
91
96
  getContentForEmail(): string;
92
97
  setContent(html: string): void;
93
98
  insertContent(html: string): void;