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

<$appear> macro doesn't show correct text when link is clicked. #5

Open
bulrush15 opened this issue Dec 18, 2019 · 0 comments
Open

Comments

@bulrush15
Copy link

bulrush15 commented Dec 18, 2019

Summary:

No matter how many <$appear> widgets I have in a single tiddler only the text for the last <appear> macro will appear.

My Setup:

  • Using TW5.1.21 with refnotes plugin and 'appear' macro plugin.
  • Markup is standard TW5 markup.
  • Using a TW5 on tiddlyspot.com.
  • Using browse Chrome v79 on Windows 7 64-bit.
  • I am also using the refnotes plugin to TW5. https://kookma.github.io/Refnotes/

Reproduce problem:

  • Create a new tiddler in a TW5 file.
  • Use at least 2 <$appear> widgets in the single tiddler, formatted like this:
Before 16 text. 
<$appear show="Click for (16)" type="popup" keep="no">
Message for 16.
</$appear>
After 16 text. 
<$appear show="Click for (17)" type="popup" keep="no">
Message for 17.
</$appear>
After 17 text.

Results:

Click once on each 'appear' link. The correct text for the first item (16) will not be correct. It will be the text for item (17).

This bug doesn't happen if the <$appear> macro is not a popup, like this:

Before 1 text. 
<$appear show="Click for (1)" keep="no">
Message for 1.
</$appear>
After 1 text. 
<$appear show="Click for (2)" keep="no">
Message for 2.
</$appear>
After 2 text.
@bulrush15 bulrush15 changed the title <appear> macro doesn't show correct text when link is clicked. <$appear> macro doesn't show correct text when link is clicked. Dec 18, 2019
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

No branches or pull requests

1 participant