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

Tooltips are treated as block elements when inside a <note>, and inline when not #1267

Closed
illicitonion opened this issue Dec 27, 2024 · 3 comments

Comments

@illicitonion
Copy link
Member

This code:

What {{<tooltip title="heuristics">}}A heuristic is a guideline. It's not an exact rule, but a "good enough" idea to guess what approach you should use to answer a question.{{</tooltip>}} can you think of about when to use existing tools vs writing your own?

works exactly as you'd expect if it's at the top-level of a page:

Screenshot 2024-12-27 at 11 41 40

But if you put it inside a <note>, it magically becomes a block-level element and splits up the <p> it's inside?

Screenshot 2024-12-27 at 11 41 28
@SallyMcGrath
Copy link
Member

Please see #1268 for why, and how to fix

@SallyMcGrath SallyMcGrath added this to the Feature Future milestone Dec 29, 2024
@Bridgetamana
Copy link

Can you assign this to me

@illicitonion
Copy link
Member Author

This was already fixed in #1268 :)

@Bridgetamana if you're looking for something similar to pick up, #1072 may be good to look at :) Thanks!

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Curriculum Planning Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants