You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -281,7 +280,7 @@ export class UmbInputTinyMceElement extends UUIFormControlMixin(UmbLitElement, '
281
280
returnlanguageMatch;
282
281
}
283
282
284
-
async#editorSetup(editor: Editor){
283
+
#editorSetup(editor: Editor){
285
284
editor.suffix='.min';
286
285
287
286
// define keyboard shortcuts
@@ -327,18 +326,16 @@ export class UmbInputTinyMceElement extends UUIFormControlMixin(UmbLitElement, '
327
326
});
328
327
});
329
328
330
-
// instantiate plugins
331
-
// to ensure they are available before setting up the editor.
329
+
// instantiate plugins to ensure they are available before setting up the editor.
332
330
// Plugins require a reference to the current editor as a param, so can not
333
331
// be instantiated until we have an editor
334
-
this.#plugins.forEach(async(plugin)=>{
335
-
constpluginConstructor=awaitplugin;
336
-
if(pluginConstructor){
332
+
for(constpluginofthis.#plugins){
333
+
if(plugin){
337
334
// [v15]: This might be improved by changing to `createExtensionApi` and avoiding the `#loadPlugins` method altogether, but that would require a breaking change
338
335
// because that function sends the UmbControllerHost as the first argument, which is not the case here.
0 commit comments