-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathckeditor_media_embed.ckeditor5.yml
More file actions
40 lines (38 loc) · 1.57 KB
/
ckeditor_media_embed.ckeditor5.yml
File metadata and controls
40 lines (38 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ckeditor_media_embed_embed_media:
# Use the provider: property for this plugin to depend on another module.
# Configuration that will be sent to CKEditor 5 JavaScript plugins.
ckeditor5:
plugins:
- mediaEmbed.MediaEmbedEditing
- mediaEmbed.MediaEmbedUI
# *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: Media embed
# The library loaded while using the editor.
library: ckeditor_media_embed/media-embed
# The library loaded when configuring the text format using this plugin.
admin_library: ckeditor_media_embed/ckeditor_media_embed.admin
toolbar_items:
# This should match the name of the corresponding plugin exported in the
# plugin's index.js.
MediaEmbed:
label: Insert media
# If the plugin does not provide elements, set this as
# `elements: false`
elements:
- <figure>
- <figure class>
- <oembed>
- <oembed url>
# Note that it necessary for elements to separately provide both the tag
# (f.e. `<h2>`) and the attribute being added to the tag
# (f.e. `<h2 class="simple-box-title">`).
# *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.