My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2129: Display HTML content in event div
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2014


Sign in to add a comment
 
Reported by co...@chatmandesign.com, Apr 3, 2014
I would like to be able to display arbitrary HTML content within each event. This should be possible by setting the 'title' to a string that contains HTML, however, currently the title is forcibly escaped before display. This limits event content to short plain text strings.

I haven't looked at the source code yet, but the easiest solution would probably be to add a "do not escape" option to events (or even the calendar as a whole). This would make the widget much more flexible, by allowing more custom formatting of events (for example, if there's more info than just the title that should be displayed in a nice format), as well as allowing more complex UI elements to be embedded (such as buttons to confirm attendance), vastly opening up possible use cases for this widget.
Jun 7, 2014
Project Member #1 adamrs...@gmail.com
use the `eventRender` callback to inject arbitrary HTML
Status: Done
Sign in to add a comment

Powered by Google Project Hosting