Encountering an issue while attempting to utilize MathType in CKEditor
Error message at ./node_modules/@wiris/mathtype-ckeditor5/src/integration.js 257:98 Module parse failed: Unexpected token (257:98) A proper loader may be required to handle this file type as currently no loaders are configured for this file. Refer to https://webpack.js.org/concepts#loaders | | // When Latex is next to image/formula.
if (latexRange.startContainer.nodeType === 3 && latexRange.startContainer.previousSibling?.nodeType === 1) {
| // Get the position of the latex to be replaced.
| let latexEdited = '$$' +(Latex.getLatexFromMathML(MathML.safeXmlDecode(this.core.editionProperties.temporalImage.dataset.mathml))) + '$$';
Error at ./node_modules/@wiris/mathtype-html-integration-devkit/src/core.src.js 530:58
Module parse failed: Unexpected token (530:58)
A suitable loader might be necessary to process this file type as there are currently no loaders configured for it. See https://webpack.js.org/concepts#loaders
| item.endPosition);
| } else {
mathmlOrigin = this.editionProperties.temporalImage?.dataset.mathml;
| if (element && element.nodeName.toLowerCase() === 'img') { // Editor empty, formula has been erased on edit. | // There are editors (e.g: CKEditor) that put attributes in images. Error at ./node_modules/@wiris/mathtype-html-integration-devkit/src/util.js 802:57 Module parse failed: Unexpected token (802:57) A suitable loader may be needed to handle this file type as no loaders are currently configured for it. Refer to https://webpack.js.org/concepts#loaders | return Util.getSelectedItem(target, isIframe, forceGetSelection); | }
else if (node.childNodes[position].classList?.contains('Wirisformula')) {
| if ((position > 0 && node.childNodes[position - 1].classList.contains('Wirisformula')) || position === 0 ) { | var emptySpan = document.createElement('span'); Error at ./node_modules/@wiris/mathtype-html-integration-devkit/telemeter-wasm/telemeter_wasm.js 922:56 Module parse failed: Unexpected token (922:56) A proper loader may be required to handle this file type as currently no loaders are configured for it. See https://webpack.js.org/concepts#loaders | | if (typeof input === 'undefined') {
input = new URL('telemeter_wasm_bg.wasm', import.meta.url);
| } | const imports = __wbg_get_imports();
My angular project is Version 8.3.29 and Node version v14.20.0. Are there any packages similar to CKEditor with support for adding math symbols that are compatible with my dependencies?