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.
- package/dist/angular/core/editor.d.ts +7 -2
- package/dist/angular/esm2022/core/editor.mjs +60 -3
- package/dist/angular/fesm2022/fable-editor.mjs +59 -2
- package/dist/angular/fesm2022/fable-editor.mjs.map +1 -1
- package/dist/core/editor.d.ts +7 -2
- package/dist/core/editor.d.ts.map +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.mjs +135 -102
- package/dist/react/index.cjs +9 -9
- package/dist/react/index.mjs +172 -139
- package/package.json +1 -1
|
@@ -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
|
|
90
|
-
*
|
|
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;
|