Ticket #181 (closed enhancement: wontfix)
Text for createTiddlyButton and createTiddlyElement should support HTML text, not just plain text
| Reported by: | UdoBorkowski | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | undefined | Milestone: | |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description
The functions createTiddlyButton and createTiddlyElement take an argument theText which gets entered into the document with document.createTextNode.
It would be nice if one could pass an HTML string as the text (e.g. to be passed on to the element's/button's innerHTML). This would give us an easy way e.g. to use images inside buttons or to format the text.
E.g. one may use a syntax like this:
<html>this is <b>bold</b> text</html>
for a button that content is defined by an html content.
See also this discussion.
Change History
Note: See
TracTickets for help on using
tickets.
