Skip to content

Commit 59eba36

Browse files
committed
🧑‍💻 Improve Alpine support in blocks while in the editor
1 parent b305d4e commit 59eba36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<script type="text/javascript">
2-
acf.addFilter('acf_blocks_parse_node_attr', (current, node) => node.name.startsWith('x-') ? node : current);
2+
acf.addFilter('acf_blocks_parse_node_attr', (current, node) => (node.name.startsWith('x-') || node.name.startsWith('@')) ? node : current);
33
</script>

0 commit comments

Comments
 (0)