From bd468aaafdde026a77ce0ac5eed6bdca1b7b7c53 Mon Sep 17 00:00:00 2001 From: andreeapescar Date: Mon, 26 Aug 2024 11:21:30 +0300 Subject: [PATCH] fix: temporary remove usage of math-rendering-accessible PD-3989 --- src/components/pie-author/pie-author.tsx | 8 ++++++-- src/components/pie-player/pie-player.tsx | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/pie-author/pie-author.tsx b/src/components/pie-author/pie-author.tsx index afeff4d..bb9966b 100644 --- a/src/components/pie-author/pie-author.tsx +++ b/src/components/pie-author/pie-author.tsx @@ -7,7 +7,10 @@ import { ModelUpdatedEvent } from "@pie-framework/pie-configure-events"; -import {_dll_pie_lib__pie_toolbox_math_rendering_accessible} from "@pie-lib/pie-toolbox-math-rendering-module/module"; +import { + _dll_pie_lib__pie_toolbox_math_rendering, + // _dll_pie_lib__pie_toolbox_math_rendering_accessible +} from "@pie-lib/pie-toolbox-math-rendering-module/module"; import {Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch} from "@stencil/core"; import cloneDeep from "lodash/cloneDeep"; import _isEmpty from "lodash/isEmpty"; @@ -738,7 +741,8 @@ export class Author { private renderMath() { setTimeout(() => { - _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el); + _dll_pie_lib__pie_toolbox_math_rendering.renderMath(this.el); + // _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el); }, 50); } diff --git a/src/components/pie-player/pie-player.tsx b/src/components/pie-player/pie-player.tsx index 49c73bb..de418f0 100644 --- a/src/components/pie-player/pie-player.tsx +++ b/src/components/pie-player/pie-player.tsx @@ -1,6 +1,7 @@ import {SessionChangedEvent} from "@pie-framework/pie-player-events"; import { - _dll_pie_lib__pie_toolbox_math_rendering_accessible + _dll_pie_lib__pie_toolbox_math_rendering, + // _dll_pie_lib__pie_toolbox_math_rendering_accessible } from "@pie-lib/pie-toolbox-math-rendering-module/module"; import { Component, @@ -397,7 +398,8 @@ export class Player { private renderMath() { setTimeout(() => { - _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el); + _dll_pie_lib__pie_toolbox_math_rendering.renderMath(this.el); + // _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el); }, 50); }