origin commit 63d49fe

This commit is contained in:
Paul Spenke
2023-07-02 21:31:38 +08:00
parent a529852fd8
commit 5ef177ea39
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ function J(t) {
function p(t) {
let e = !1;
t.getClasses().forEach((i) => {
i.startsWith("ID") && i.length === 16 && (e = i);
i.startsWith("ID") && i.length >= 16 && (e = i);
}), t.attributes["style-identifier"] === void 0 && (t.attributes["style-identifier"] = e || D()), t.addClass(t.attributes["style-identifier"]);
}
function j(t) {
File diff suppressed because one or more lines are too long
@@ -773,7 +773,7 @@
// get component identifier class if one is already added to the component's html when saving the pagebuilder previously
let componentIdentifier = false;
component.getClasses().forEach(componentClass => {
if (componentClass.startsWith('ID') && componentClass.length === 16) {
if (componentClass.startsWith('ID') && componentClass.length >= 16) {
componentIdentifier = componentClass;
}
});