From 950182fd5bb2aa92164281b37ed60daf98fea534 Mon Sep 17 00:00:00 2001 From: Xavier Ripoll Date: Thu, 19 Oct 2023 10:19:29 +0200 Subject: [PATCH] change register to set --- packages/tinymce6/editor_plugin.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tinymce6/editor_plugin.src.js b/packages/tinymce6/editor_plugin.src.js index 875bbe13b..37ceb43bb 100644 --- a/packages/tinymce6/editor_plugin.src.js +++ b/packages/tinymce6/editor_plugin.src.js @@ -232,7 +232,7 @@ export const currentInstance = null; 'annotation[*]', ]; - editor.options.register('extended_valid_elements', `,${validMathML.join()}`); + editor.options.set('extended_valid_elements', `,${validMathML.join()}`); // editor.settings.extended_valid_elements += ; // eslint-disable-line no-param-reassign