@innovastudio/contentbuilder 1.5.173 → 1.5.174
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/package.json
CHANGED
|
@@ -15112,13 +15112,18 @@ class HtmlUtil {
|
|
|
15112
15112
|
elm.removeAttribute('data-item-id');
|
|
15113
15113
|
});
|
|
15114
15114
|
}
|
|
15115
|
+
// Cleanup data-item-id
|
|
15116
|
+
let elms = element.querySelectorAll('[data-item-id]');
|
|
15117
|
+
elms.forEach(elm => {
|
|
15118
|
+
elm.removeAttribute('data-item-id');
|
|
15119
|
+
});
|
|
15115
15120
|
|
|
15116
15121
|
// Clean data-edit-id in editable area
|
|
15117
15122
|
let editables = element.querySelectorAll('.edit');
|
|
15118
15123
|
editables.forEach(area => {
|
|
15119
15124
|
area.removeAttribute('data-edit-id');
|
|
15120
15125
|
});
|
|
15121
|
-
|
|
15126
|
+
elms = element.querySelectorAll('[data-scroll], [data-scroll-once]');
|
|
15122
15127
|
elms.forEach(elm => {
|
|
15123
15128
|
elm.removeAttribute('data-scroll');
|
|
15124
15129
|
elm.removeAttribute('data-scroll-once');
|