diff --git a/composer.json b/composer.json index f3569007a3..daa8345078 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,6 @@ "citation-style-language/styles": "0.0.561", "composer/installers": "^2.0", "cweagans/composer-patches": "^1.7", - "drupal/anchor_link": "3.0.0-beta1", "drupal/access_unpublished": "1.6.0", "drupal/antibot": "2.0.4", "drupal/asset_injector": "2.21.0", @@ -127,7 +126,6 @@ "npm-asset/bootstrap-datepicker": "1.10.0", "npm-asset/easepick--bundle": "1.2.1", "npm-asset/jquery-ui-touch-punch": "*", - "npm-asset/northernco--ckeditor5-anchor-drupal": "0.5.0", "npm-asset/slick-carousel": "1.8.0", "renanbr/bibtex-parser": "2.2.0", "seboettg/citeproc-php": "2.6.2" diff --git a/modules/custom/az_paragraphs/az_paragraphs.info.yml b/modules/custom/az_paragraphs/az_paragraphs.info.yml index 8ef7def13e..e91c33d57f 100644 --- a/modules/custom/az_paragraphs/az_paragraphs.info.yml +++ b/modules/custom/az_paragraphs/az_paragraphs.info.yml @@ -5,7 +5,6 @@ core_version_requirement: ^9 || ^10 package: 'The University of Arizona' dependencies: - paragraphs:paragraphs - - anchor_link:anchor_link - az_card - az_core - az_media diff --git a/modules/custom/az_paragraphs/az_paragraphs.install b/modules/custom/az_paragraphs/az_paragraphs.install index 67043aeadf..15cbd0f31e 100644 --- a/modules/custom/az_paragraphs/az_paragraphs.install +++ b/modules/custom/az_paragraphs/az_paragraphs.install @@ -92,8 +92,7 @@ function az_paragraphs_update_1021001() { } /** - * Enable anchor_link module for CKEditor5 by default. + * Empty update since we reverted our addition of the anchor_link module. */ function az_paragraphs_update_1021201() { - \Drupal::service('module_installer')->install(['anchor_link']); } diff --git a/modules/custom/az_paragraphs/az_paragraphs.module b/modules/custom/az_paragraphs/az_paragraphs.module index 9c9aeb27e4..0c0eb26290 100644 --- a/modules/custom/az_paragraphs/az_paragraphs.module +++ b/modules/custom/az_paragraphs/az_paragraphs.module @@ -53,21 +53,3 @@ function az_paragraphs_theme_registry_alter(&$theme_registry) { } } } - -/** - * Implements hook_library_info_alter(). - * - * Alter path of CKE5 anchor link library to match the one installed by - * composer. - * @link https://www.drupal.org/project/anchor_link/issues/3406349#comment-15463373 - */ -function az_paragraphs_library_info_alter(&$libraries, $extension) { - if ($extension === 'anchor_link' && isset($libraries['cke5_anchor_link'])) { - $libraries['cke5_anchor_link']['js'] = [ - '/libraries/northernco--ckeditor5-anchor-drupal/build/anchor-drupal.js' => [ - 'preprocess' => FALSE, - 'minified' => TRUE, - ], - ]; - } -} diff --git a/modules/custom/az_paragraphs/config/optional/editor.editor.az_standard.yml b/modules/custom/az_paragraphs/config/optional/editor.editor.az_standard.yml index d9ee1f55d6..dbc9fb0b47 100644 --- a/modules/custom/az_paragraphs/config/optional/editor.editor.az_standard.yml +++ b/modules/custom/az_paragraphs/config/optional/editor.editor.az_standard.yml @@ -21,7 +21,6 @@ settings: - specialCharacters - '|' - link - - anchor - '|' - bulletedList - numberedList