deepseek-1.x-dev/deepseek.ckeditor5.yml
deepseek.ckeditor5.yml
deepseek_prompts:
# Use the provider: property for this plugin to depend on another module.
# Configuration that will be sent to CKEditor 5 JavaScript plugins.
ckeditor5:
plugins:
- insert_prompts.InsertPrompt
# *Additional configuration properties*
config:
insert_prompt:
prompts: []
# Configuration that will be used directly by Drupal.
drupal:
label: AI prompt
class: \Drupal\deepseek\Plugin\CKEditor5Plugin\InsertPromptSettings
# The library loaded while using the editor.
library: deepseek/insert-prompt
# The library loaded when configuring the text format using this plugin.
admin_library: deepseek/admin.insert-prompt
toolbar_items:
# This should match the name of the corresponding plugin exported in the
# plugin's index.js.
InsertPrompt:
label: Insert Prompt
# If the plugin does not provide elements, set this as
# `elements: false`
elements: false
# *Additional configuration properties*
# conditions: for setting additional criteria that must be met for the
# plugin to be active.
# class: Optional PHP class that makes it possible for the plugin to provide
# dynamic values, or a configuration UI.
