croco-html 4.3.9 → 4.3.10
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/fesm2022/croco-html.mjs
CHANGED
|
@@ -2283,7 +2283,9 @@ class MainEditorBlockComponent {
|
|
|
2283
2283
|
this.onTagSaved.emit(this.tag);
|
|
2284
2284
|
}
|
|
2285
2285
|
isDefinedCustomTag() {
|
|
2286
|
-
|
|
2286
|
+
const tagName = this.tag.tagDescription.tag;
|
|
2287
|
+
console.log("isDefinedCustomTag()", tagName, this._options.definedCustomTags.hasOwnProperty(tagName), this._options);
|
|
2288
|
+
if (this._options.definedCustomTags.hasOwnProperty(tagName)) {
|
|
2287
2289
|
return true;
|
|
2288
2290
|
}
|
|
2289
2291
|
return false;
|