We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e96796 commit 55d9a33Copy full SHA for 55d9a33
src/node/overrides.js
@@ -113,11 +113,14 @@ define([
113
};
114
115
blocks.queries.template.preprocess = function (domQuery, html, value) {
116
- if (VirtualElement.Is(html)) {
117
- html = html.html();
118
- } else if (blocks.isObject(html)) {
119
- html = GLOBAL[html.rawValue] && GLOBAL[html.rawValue].html();
+ if (blocks.isObject(html)) {
+ if (VirtualElement.Is(html.rawValue)) {
+ html = html.rawValue.html();
+ } else {
120
+ html = GLOBAL[html.rawValue] && GLOBAL[html.rawValue].html();
121
+ }
122
}
123
+
124
if (blocks.isObject(value) && value.parameterName) {
125
value = value.rawValue;
126
0 commit comments