Skip to content
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

Open
wants to merge 1 commit into
base: tiddlywiki-com
Choose a base branch
from

Conversation

springerspandrel
Copy link
Contributor

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!"/>)

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!"/>)
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tiddlywiki5 ✅ Ready (Inspect) Visit Preview Jun 26, 2024 7:02pm

!!! Input Actions

<$macrocall $name=".example" n="4"
eg="""\define onInput()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be \procedure

@saqimtiaz
Copy link
Contributor

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.

@Jermolene
Copy link
Owner

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

@springerspandrel
Copy link
Contributor Author

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!"/>

@Jermolene
Copy link
Owner

Thanks @springerspandrel – I think this has been superseded, and so can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants