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.
2 parents d7ee25a + 58f7a6a commit 54eaf0dCopy full SHA for 54eaf0d
1 file changed
assets/admin/js/trix/trix-editor.js
@@ -51,7 +51,7 @@ document.querySelectorAll('select').forEach(select => {
51
});
52
53
54
-document.querySelectorAll('button[data-live-action-param="addCollectionItem"]').forEach(button => {
+document.querySelectorAll('button[data-live-action-param]').forEach(button => {
55
button.addEventListener('click', (event) => {
56
document.querySelectorAll('trix-editor').forEach((editor) => {
57
const innerInput = document.getElementById(editor.attributes.input.value);
0 commit comments