We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b96023a commit 8163dc1Copy full SHA for 8163dc1
public/js/layouts.js
@@ -40,7 +40,7 @@ document.addEventListener('alpine:init', () => {
40
}, {}, {
41
afterResponse: function(data) {
42
const tempContainer = document.createElement('div');
43
- tempContainer.innerHTML = data.htmlData[0].html ?? '';
+ tempContainer.innerHTML = data.html ?? data.htmlData[0].html ?? '';
44
45
while (tempContainer.firstChild) {
46
t.blocksContainer.appendChild(tempContainer.firstChild);
0 commit comments