From 76b4450be49034930b5751c9e46b5fd224bd60fd Mon Sep 17 00:00:00 2001
From: kpaxman <kpaxman@uwaterloo.ca>
Date: Mon, 12 Jul 2021 13:59:06 -0400
Subject: [PATCH] ISTWCMS-4912: add codemirror and textselection plugins to all
 wysiwyg text formats

---
 config/install/editor.editor.uw_tf_basic.yml     | 5 +++++
 config/install/editor.editor.uw_tf_full_html.yml | 5 +++++
 config/install/editor.editor.uw_tf_standard.yml  | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/config/install/editor.editor.uw_tf_basic.yml b/config/install/editor.editor.uw_tf_basic.yml
index 1ed4b08b..9ddb38e4 100644
--- a/config/install/editor.editor.uw_tf_basic.yml
+++ b/config/install/editor.editor.uw_tf_basic.yml
@@ -35,6 +35,11 @@ settings:
             - DrupalLink
             - DrupalUnlink
             - Anchor
+        -
+          name: 'Hidden tools'
+          items:
+            - CodeMirror
+            - TextSelection
   plugins:
     drupallink:
       linkit_enabled: true
diff --git a/config/install/editor.editor.uw_tf_full_html.yml b/config/install/editor.editor.uw_tf_full_html.yml
index c6c47aa5..f9fc9361 100644
--- a/config/install/editor.editor.uw_tf_full_html.yml
+++ b/config/install/editor.editor.uw_tf_full_html.yml
@@ -70,6 +70,11 @@ settings:
             - HorizontalRule
             - ShowBlocks
             - Language
+        -
+          name: 'Hidden tools'
+          items:
+            - CodeMirror
+            - TextSelection
   plugins:
     drupallink:
       linkit_enabled: true
diff --git a/config/install/editor.editor.uw_tf_standard.yml b/config/install/editor.editor.uw_tf_standard.yml
index 55f5d593..3104fafb 100644
--- a/config/install/editor.editor.uw_tf_standard.yml
+++ b/config/install/editor.editor.uw_tf_standard.yml
@@ -71,6 +71,11 @@ settings:
           name: Block
           items:
             - ShowBlocks
+        -
+          name: 'Hidden tools'
+          items:
+            - CodeMirror
+            - TextSelection
   plugins:
     drupallink:
       linkit_enabled: true
-- 
GitLab