mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[71849] Add description AddMathEquation method (ApiPresentation)
This commit is contained in:
committed by
Sergey Luzyanin
parent
17325dbfa7
commit
97d2b87550
@ -1653,8 +1653,13 @@
|
||||
|
||||
/**
|
||||
* Adds a math equation to the current document.
|
||||
*
|
||||
* TODO: description
|
||||
* @memberof ApiPresentation
|
||||
* @typeofeditors ["CPE"]
|
||||
* @param {string} sText - The math equation text.
|
||||
* @param {string} sFormat - The math equation format. Possible values are "unicode" and "latex".
|
||||
* @returns {boolean}
|
||||
* @since 9.0.0
|
||||
* @see office-js-api/Examples/{Editor}/ApiPresentation/Methods/AddMathEquation.js
|
||||
*/
|
||||
ApiPresentation.prototype.AddMathEquation = function (sText, sFormat) {
|
||||
if (!Asc.editor) {
|
||||
@ -1691,6 +1696,8 @@
|
||||
const graphicController = Asc.editor.getGraphicController();
|
||||
graphicController.startRecalculate();
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user