Commit 08e50989 authored by slashrsm's avatar slashrsm Committed by slashrsm

Issue #2554687 by slashrsm, pixelmord, CTaPByK, Dave Reid, Wim Leers, Reinmar,...

Issue #2554687 by slashrsm, pixelmord, CTaPByK, Dave Reid, Wim Leers, Reinmar, Denchev: <drupal-entity> tag not being automatically added when an Entity Embed button is added to active editor toolbar
parent 6cff3f37
......@@ -135,6 +135,7 @@
editor.ui.addButton(button.id, {
label: button.label,
data: button,
allowedContent: 'drupal-entity[!data-entity-type,!data-entity-id,!data-entity-uuid,!data-entity-embed-display,!data-entity-embed-settings,!data-align,!data-caption,!data-embed-button]',
click: function(editor) {
editor.execCommand('editdrupalentity', this.data);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment