From 18a4e77523f30f0ba3e8642c3701c1229eca56a5 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 22 Feb 2024 10:42:14 -0800 Subject: [PATCH] Configure linkit, enabling autocompletion of internal links in WYSIWYG --- config/editor.editor.basic_html.yml | 3 +++ config/editor.editor.full_html.yml | 3 +++ config/filter.format.basic_html.yml | 10 +++++++++- config/filter.format.full_html.yml | 8 ++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/config/editor.editor.basic_html.yml b/config/editor.editor.basic_html.yml index 99b335e..58054c8 100644 --- a/config/editor.editor.basic_html.yml +++ b/config/editor.editor.basic_html.yml @@ -56,6 +56,9 @@ settings: - '

' - '

' - '
' + linkit_extension: + linkit_enabled: true + linkit_profile: default media_media: allow_view_mode_override: false image_upload: diff --git a/config/editor.editor.full_html.yml b/config/editor.editor.full_html.yml index b1348ea..aef4b9f 100644 --- a/config/editor.editor.full_html.yml +++ b/config/editor.editor.full_html.yml @@ -55,6 +55,9 @@ settings: multiBlock: true ckeditor5_sourceEditing: allowed_tags: { } + linkit_extension: + linkit_enabled: true + linkit_profile: default image_upload: status: true scheme: public diff --git a/config/filter.format.basic_html.yml b/config/filter.format.basic_html.yml index e40249d..a4ecc39 100644 --- a/config/filter.format.basic_html.yml +++ b/config/filter.format.basic_html.yml @@ -4,6 +4,7 @@ status: true dependencies: module: - editor + - linkit - media _core: default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko @@ -35,7 +36,7 @@ filters: status: true weight: -10 settings: - allowed_html: '