From 70b98c1bb28526d8f30ac9b6ee57aad97a60011b Mon Sep 17 00:00:00 2001 From: James O'Toole Date: Wed, 2 Aug 2023 12:31:17 -0700 Subject: [PATCH] Update styles menu for CKEditor 5 --- .../ubc_science_shared_config.install | 196 ++++++++++++++---- 1 file changed, 154 insertions(+), 42 deletions(-) diff --git a/ubc_science_shared_config/ubc_science_shared_config.install b/ubc_science_shared_config/ubc_science_shared_config.install index 15a3476..d71b736 100755 --- a/ubc_science_shared_config/ubc_science_shared_config.install +++ b/ubc_science_shared_config/ubc_science_shared_config.install @@ -8,49 +8,161 @@ function ubc_science_shared_config_install() { $config = \Drupal::service('config.factory'); - $config->getEditable('filter.format.filtered_text') - ->set('filters.filter_html.settings.allowed_html', '