From 5b051e183a3ce637584053f4e394cc4bdea20dfd Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 3 Sep 2021 14:18:27 -0400 Subject: [PATCH] FIX: Deprecated `modfiyClass` (#14) --- common/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/header.html b/common/header.html index ffbd187..1004203 100644 --- a/common/header.html +++ b/common/header.html @@ -379,6 +379,8 @@ }); api.modifyClass("controller:composer", { + pluginId: "DiscoTOC", + actions: { insertDtoc() { this.get("toolbarEvent").applySurround(