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

Popup: detail body as HTML #380

Closed
pecuchet opened this issue Aug 21, 2019 · 1 comment
Closed

Popup: detail body as HTML #380

pecuchet opened this issue Aug 21, 2019 · 1 comment
Labels

Comments

@pecuchet
Copy link

Version

tui-calendar@1.12.4

Development Environment

FF Developer Edition 69.0b11

Current Behavior

Currently the Schedule.body property is not outputted as HTML in the popup, but as plain text. So <p>This is my body</p> is rendered as such with converted HTML entities .

Expected Behavior

It would be nice if innerHTML was used to insert the content of Schedule.body and of the custom template function popupDetailBody.

@jungeun-cho
Copy link
Contributor

@pecuchet
The template code should be able to input html code.
I will apply to the next patch version. :)

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

No branches or pull requests

2 participants