From bd353201e3303e3d185ff431508e29f1488142ce Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Thu, 3 Mar 2022 06:20:43 -0800 Subject: [PATCH] Update head_tag.html Fixes: ``` To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once. ``` --- desktop/head_tag.html | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/head_tag.html b/desktop/head_tag.html index d06c12f..013c7df 100644 --- a/desktop/head_tag.html +++ b/desktop/head_tag.html @@ -75,6 +75,7 @@ api.addToolbarPopupMenuOptionsCallback(() => { }); api.modifyClass("controller:composer", { + pluginId: 'md-composer-extras', actions: { floatleft() { this.get("toolbarEvent").applySurround('[wrap="floatl"]\n', '\n[/wrap]', "float_left_text");