Skip to content

Conversation

@blocknotes
Copy link
Owner

@blocknotes blocknotes commented Mar 20, 2025

🆕 New syntax to provide arguments to the actions using data-arg (or data-else-arg for else action)

Example:

title_data = { if: 'blank', then: 'setValue', args: '1', target: '#article_position' }
f.input :title, input_html: { data: title_data }

ℹ️ Replace #19

@blocknotes blocknotes self-assigned this Mar 20, 2025
@blocknotes blocknotes force-pushed the feat/new-args-syntax branch 2 times, most recently from 650e41b to 815341f Compare March 22, 2025 08:20
@blocknotes blocknotes force-pushed the feat/new-args-syntax branch from 815341f to 3853e24 Compare March 22, 2025 08:25
@blocknotes blocknotes marked this pull request as ready for review March 22, 2025 08:35
@blocknotes blocknotes merged commit d70fb2b into master Mar 22, 2025
9 checks passed
@blocknotes blocknotes deleted the feat/new-args-syntax branch March 22, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants