We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6998c commit 91c5ed3Copy full SHA for 91c5ed3
1 file changed
packages/ckeditor5/src/integration.js
@@ -550,6 +550,8 @@ export default class CKEditor5Integration extends IntegrationModel {
550
? acceptedLatex
551
: standardResult?.latex;
552
553
+ // Do not continue if no LaTeX found by either method.
554
+ // This is necessary since both parameters can be independently undefined in some edge cases.
555
if (latex === undefined && acceptedLatex === undefined) {
556
return;
557
}
0 commit comments