From bef55f12a5b39b07cfa2bb125aa06503d1581911 Mon Sep 17 00:00:00 2001
From: Lily Yan <lily.yan@uwaterloo.ca>
Date: Thu, 7 Jan 2021 15:56:16 -0500
Subject: [PATCH] ISTWCMS-4210 Add mathjax icon to active toolbar for
 uw_tf_standard and uw_tf_full_html and add span class is allowed

---
 config/install/editor.editor.uw_tf_full_html.yml | 5 +++++
 config/install/editor.editor.uw_tf_standard.yml  | 4 ++++
 config/install/filter.format.uw_tf_standard.yml  | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/config/install/editor.editor.uw_tf_full_html.yml b/config/install/editor.editor.uw_tf_full_html.yml
index ddaba766..ccece780 100644
--- a/config/install/editor.editor.uw_tf_full_html.yml
+++ b/config/install/editor.editor.uw_tf_full_html.yml
@@ -31,6 +31,10 @@ settings:
           items:
             - BulletedList
             - NumberedList
+        -
+          name: Inserts
+          items:
+            - Mathjax
         -
           name: Media
           items:
@@ -48,6 +52,7 @@ settings:
             - Source
             - Table
             - SpecialChar
+            - Mathjax
             - Maximize
             - PasteText
             - PasteFromWord
diff --git a/config/install/editor.editor.uw_tf_standard.yml b/config/install/editor.editor.uw_tf_standard.yml
index 530194ba..64687d4e 100644
--- a/config/install/editor.editor.uw_tf_standard.yml
+++ b/config/install/editor.editor.uw_tf_standard.yml
@@ -44,6 +44,10 @@ settings:
           items:
             - DrupalLink
             - DrupalUnlink
+        -
+          name: Inserts
+          items:
+            - Mathjax
         -
           name: Styles
           items:
diff --git a/config/install/filter.format.uw_tf_standard.yml b/config/install/filter.format.uw_tf_standard.yml
index 232daf89..843e41cc 100644
--- a/config/install/filter.format.uw_tf_standard.yml
+++ b/config/install/filter.format.uw_tf_standard.yml
@@ -15,7 +15,7 @@ filters:
     status: true
     weight: -46
     settings:
-      allowed_html: '<a class href hreflang download rel rev name target<_self> <img src alt longdesc width height> <uwvideo href> <table width> <th abbr axis headers scope colspan rowspan width> <td abbr axis headers scope colspan rowspan width> <colgroup span width> <col span width> <div data-reveal-id tabindex role> <abbr/acronym> <sub> <sup> <dfn> <samp> <kbd> <var> <ol start> <em> <i> <strong> <b> <strike> <s> <del> <ins> <footer> <cite> <blockquote> <address> <code> <pre> <ul> <li value> <dl> <dt> <dd> <p class> <h2> <h3> <h4> <h5> <h6> <span><thead> <tfoot> <tbody> <tr> <caption> <hr> <br> <ckcalltoaction data-calltoaction-nid> <cktwitter data-type data-username data-listname data-search data-displayname data-widget-id data-tweet data-url data-timeline> <ckfacebook data-username data-displayname> <ckfactsfigures data-factsfigures-nid data-usecarousel data-numberpercarousel> <ckimagegallery data-imagegallerynid data-gallerytype> <cklivestream data-username data-displayname> <ckmailchimp data-sourcecode> <ckmailman data-listname data-servername> <cktableau data-url data-height data-tabs data-server data-site> <cktdx data-tdx-id data-tdx-show-project-title> <cktint data-id data-keywords data-height data-columns> <cktimeline data-restfulurl> <ckvimeo data-url> <ckembeddedmaps data-type data-src data-height> <ckhootsuite data-subdomain data-height> <div title id lang class=" "><drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
+      allowed_html: '<a class href hreflang download rel rev name target<_self> <img src alt longdesc width height> <uwvideo href> <table width> <th abbr axis headers scope colspan rowspan width> <td abbr axis headers scope colspan rowspan width> <colgroup span width> <col span width> <div data-reveal-id tabindex role> <abbr/acronym> <sub> <sup> <dfn> <samp> <kbd> <var> <ol start> <em> <i> <strong> <b> <strike> <s> <del> <ins> <footer> <cite> <blockquote> <address> <code> <pre> <ul> <li value> <dl> <dt> <dd> <p class> <h2> <h3> <h4> <h5> <h6> <span><span class><thead> <tfoot> <tbody> <tr> <caption> <hr> <br> <ckcalltoaction data-calltoaction-nid> <cktwitter data-type data-username data-listname data-search data-displayname data-widget-id data-tweet data-url data-timeline> <ckfacebook data-username data-displayname> <ckfactsfigures data-factsfigures-nid data-usecarousel data-numberpercarousel> <ckimagegallery data-imagegallerynid data-gallerytype> <cklivestream data-username data-displayname> <ckmailchimp data-sourcecode> <ckmailman data-listname data-servername> <cktableau data-url data-height data-tabs data-server data-site> <cktdx data-tdx-id data-tdx-show-project-title> <cktint data-id data-keywords data-height data-columns> <cktimeline data-restfulurl> <ckvimeo data-url> <ckembeddedmaps data-type data-src data-height> <ckhootsuite data-subdomain data-height> <div title id lang class=" "><drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
       filter_html_help: true
       filter_html_nofollow: true
   filter_htmlcorrector:
-- 
GitLab