From 11c378fad3502df3fc6ddb36f30deb818aeb70ae Mon Sep 17 00:00:00 2001 From: Jurriaan Roelofs Date: Wed, 7 Aug 2024 11:04:27 +0200 Subject: [PATCH] add dxpr_ai recipe --- recipes/dxpr_builder_ai/composer.json | 10 ++++++++++ recipes/dxpr_builder_ai/recipe.yml | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 recipes/dxpr_builder_ai/composer.json create mode 100644 recipes/dxpr_builder_ai/recipe.yml diff --git a/recipes/dxpr_builder_ai/composer.json b/recipes/dxpr_builder_ai/composer.json new file mode 100644 index 0000000..1135117 --- /dev/null +++ b/recipes/dxpr_builder_ai/composer.json @@ -0,0 +1,10 @@ +{ + "name": "drupal/dxpr_builder_ai", + "type": "drupal-recipe", + "description": "Adds the AI Assistant CKEditor button to the CKEditor toolbars.", + "version": "dev-main", + "require": { + "drupal/core": ">=10.3", + "drupal/ai": "^1" + } +} \ No newline at end of file diff --git a/recipes/dxpr_builder_ai/recipe.yml b/recipes/dxpr_builder_ai/recipe.yml new file mode 100644 index 0000000..834776a --- /dev/null +++ b/recipes/dxpr_builder_ai/recipe.yml @@ -0,0 +1,24 @@ +name: 'DXPR Builder AI' +type: 'DXPR CMS' +description: 'Adds the AI Assistant CKEditor button to the CKEditor toolbars.' +install: + - ai_ckeditor +config: + import: + editor.editor.basic_html: + - editor.editor.basic_html + editor.editor.full_html: + - editor.editor.full_html + actions: + editor.editor.basic_html: + setComponent: + name: toolbar + options: + items: + - aickeditor + editor.editor.full_html: + setComponent: + name: toolbar + options: + items: + - aickeditor \ No newline at end of file