Skip to content

Commit

Permalink
Merge branch '4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Dec 12, 2024
2 parents 597beec + 640419c commit f93246c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import Widget from '@ckeditor/ckeditor5-widget/src/widget';
import { toWidget } from '@ckeditor/ckeditor5-widget/src/utils';
import Element from '@ckeditor/ckeditor5-engine/src/view/element';

import IbexaInlineCustomTagCommand from './inline-custom-tag-command';

Expand Down Expand Up @@ -92,6 +93,10 @@ class IbexaInlineCustomTagEditing extends Plugin {
const values = {};

for (const configValue of configValuesIterator) {
if (configValue instanceof Element === false) {
continue;
}

const value = configValue.getChild(0)?.data ?? null;

values[configValue.getAttribute('data-ezvalue-key')] = value;
Expand Down

0 comments on commit f93246c

Please sign in to comment.