amazon_onsite-1.0.0-beta5/amazon_onsite.ckeditor5.yml

amazon_onsite.ckeditor5.yml
# If using yml to configure plugins, rename this to {module_name}.ckeditor5.yml.
# If using annotations, this file can be removed.
# @see 3
#   For information on using annotations to define plugins.
# @see the CKEditor 5 module's README.md for more details regarding plugin
#   configuration options.
# cSpell:ignore amazonproductlink insertasin

amazon_onsite_amazonproduct_insertasin:
  # Use the provider: property for this plugin to depend on another module.

  # Configuration that will be sent to CKEditor 5 JavaScript plugins.
  ckeditor5:
    plugins:
      - amazonProductLink.InsertAsin
    # *Additional configuration properties*
    # config: data sent to the constructor of any CKEditor 5 plugin
    #   editorPluginName:
    #     editorPluginProperty: editorPluginValue

  # Configuration that will be used directly by Drupal.
  drupal:
    label: Amazon Product Link
    # The library loaded while using the editor.
    library: amazon_onsite/amazonproductlink
    # The library loaded when configuring the text format using this plugin.
    admin_library: amazon_onsite/admin.amazonproductlink
    toolbar_items:
      # This should match the name of the corresponding plugin exported in the
      # plugin's index.js.
      insertAsin:
        label: Insert Amazon Product Link
    # If the plugin does not provide elements, set this as
    # `elements: false`
    elements:
      # Note that it necessary for elements to separately provide both the tag
      - <a data-amazon-onsite-product>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc