@ckeditor/ckeditor5-engine 45.0.0-alpha.0 → 45.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -22624,7 +22624,7 @@ function getFromAttributeCreator(config) {
|
|
|
22624
22624
|
return;
|
|
22625
22625
|
}
|
|
22626
22626
|
const modelKey = config.model.key;
|
|
22627
|
-
const modelValue = typeof config.model.value == 'function' ? config.model.value(data.viewItem, conversionApi) : config.model.value;
|
|
22627
|
+
const modelValue = typeof config.model.value == 'function' ? config.model.value(data.viewItem, conversionApi, data) : config.model.value;
|
|
22628
22628
|
// Do not convert if attribute building function returned falsy value.
|
|
22629
22629
|
if (modelValue === null) {
|
|
22630
22630
|
return;
|