fika-editor 3.0.13 → 3.0.15

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.
@@ -87,4 +87,12 @@ export declare function measureLatexElement(latex: string): Promise<{
87
87
  }>;
88
88
  /** True when an HTML string already contains rendered/wrapped math. */
89
89
  export declare function htmlContainsMath(html: string): boolean;
90
+ /** True when a stored deck needs MathLive CSS to paint stacked fractions. */
91
+ export declare function deckHasMath(slides: ReadonlyArray<{
92
+ elements?: ReadonlyArray<unknown>;
93
+ }>): boolean;
94
+ /** Load MathLive CSS/fonts when the deck already has typeset math. */
95
+ export declare function ensureMathStylesForSlides(slides: ReadonlyArray<{
96
+ elements?: ReadonlyArray<unknown>;
97
+ }>): void;
90
98
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fika-editor",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "description": "Fika presentation editor embed bundle with a typed agentic bridge.",
5
5
  "type": "module",
6
6
  "main": "dist/embed/fika-embed.js",
@@ -118,7 +118,7 @@
118
118
  "parse5": "^8.0.1",
119
119
  "perfect-freehand": "^1.2.3",
120
120
  "pptxgenjs-plus": "^4.2.1",
121
- "pptxtojson": "npm:@lofcz/pptxtojson@^2.2.6",
121
+ "pptxtojson": "npm:@lofcz/pptxtojson@^2.2.7",
122
122
  "prosemirror-commands": "^1.7.2",
123
123
  "prosemirror-dropcursor": "^1.8.3",
124
124
  "prosemirror-gapcursor": "^1.4.1",