-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update EditTextWidget.tid with inputActions example #8296
base: tiddlywiki-com
Are you sure you want to change the base?
Update EditTextWidget.tid with inputActions example #8296
Conversation
Adding an example to clarify how inputActions can be defined for an edit-text widget. Currently uses the new confetti feature. (For a more dull example, we could use <$action-confirm $message="Yes, this is how system tiddler names begin!"/>)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
!!! Input Actions | ||
|
||
<$macrocall $name=".example" n="4" | ||
eg="""\define onInput() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be \procedure
I would favour a different example that does not use the confetti feature, as this is not available in the core and requires an additional plugin. |
Thank you @springerspandrel that's a great idea, and works well. Sadly, I think @saqimtiaz is right, the examples shouldn't require particular plugins because it makes the documentation less portable |
Yes, I think this complication was what motivated my alternate suggestion in the notes above: For a more dull example, we could use <$action-confirm $message="Yes, this is how system tiddler names begin!"/> |
Thanks @springerspandrel – I think this has been superseded, and so can be closed |
Adding an example to clarify how inputActions can be defined for an edit-text widget. Currently uses the new confetti feature. (For a more dull example, we could use <$action-confirm $message="Yes, this is how system tiddler names begin!"/>)