fable-editor 1.3.0 → 1.3.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.
@@ -11,6 +11,15 @@ export interface InjectResult {
11
11
  * unchanged. */
12
12
  injected: string[];
13
13
  }
14
+ /** Word describes a picture twice: as a VML shape inside a downlevel-hidden
15
+ * conditional comment, and as a plain <img> fallback after it. With RelyOnVML on —
16
+ * which is what a cropped picture gets — it writes only the shape, and the paste
17
+ * engine drops conditional comments, so the picture has no tag left to land on and
18
+ * disappears. Give those shapes the <img> Word withheld, keeping the shape's size.
19
+ * Pictures that do have the fallback are recognised by their src and left alone.
20
+ *
21
+ * The shape's crop attributes are not applied: the picture appears uncropped. */
22
+ export declare function unwrapVmlImages(html: string): string;
14
23
  /** Rewrites unusable <img src> values in raw pasted HTML with the pictures given, in
15
24
  * document order. Images that already have a usable src are left alone and do not
16
25
  * consume a slot, so a mixed paste (webmail image + Word image) stays aligned.