-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Popover - "data-html='true'" equivalent option not available #520
Comments
take a look here: #220 |
@joshdmiller Do you think that adding a html-unsafe version of a popover makes sense? Ir should we really focus on #220? |
It's certainly easier to use a As for #220, I am not exactly sure what's causing the scope bug on the contents but haven't had enough time to really dive into it. I hope to get back into a regular schedule on my open-source commitments this week and this is one of the first things I want to solve. |
+1 to add |
+1 ^ |
+1 to add popover-html-unsafe |
+1 this would be useful |
This Feature enables the User to add HTML-Formatted Content to a popover See: Issue angular-ui#520
Has this been implemented in angular-ui yet? I would really like to be able to put html in my popovers! |
Move discussion to #641 :-) |
Using template is too complicated. I just want show some text with format, nothing fancy. |
+1 |
2 similar comments
+1 |
+1 |
+1 |
I agree with everyone else. This is something I've really been waiting for. Just being able to use basic HTML in my popovers for better formatting. |
👍 |
3 similar comments
+1 |
+1 |
+1 |
This is SO needed. |
+1 |
6 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
8 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
I you want to add this functionality to your project, here is a patch. Add those directives:
And add the template:
Usage: View in Plunker Feel free to propose a pull request. |
+1 to add popover-html-unsafe |
1 similar comment
+1 to add popover-html-unsafe |
@boillodmanuel - many thanks for the patch |
+1 |
We kept needing an HTML popover, so I've created an alternative popover directive called inspector gadget. Aside from angularized HTML content, also lets you hover inside the popover without hiding it (useful when someone wants to interact with content in the popover or copy/paste). This might solve a lot of the need here. Just got it to the point where I'm ready to share. Love to get feedback. |
+1 |
+1. Thanks @softwaredoug! So useful! |
+1. Thanks @boillodmanuel nice and lightweight and concise! |
Hello,
For the
popover
attribute, I am passing HTML code as follows:<h6>Foo</h6>
However, instead of displaying the "Foo" statement with the
h6
tag applied, I get the code as it is, that is the popover content is also<h6>Foo</h6>
.In the Twitter Bootstrap popover, one could specify "data-html='true'" to identify the popover content as being HTML code and that it needs be parsed before display, but I do not see any such option for the Angular UI Bootstrap Popover...
The text was updated successfully, but these errors were encountered: