How to enable HTML in Popover or Tooltip in GWTBootstrap3?
Asked Answered
B

1

1

I need to write some text within a Popover in bold. I am using GWTBootstrap3.

<g:FlowPanel addStyleNames="col-md-8">
                <b:Popover title="Enable CheckBox" content="text texttobebold" placement="RIGHT">   
                    <b:InlineCheckBox ui:field="onlineCheckbox" />
                </b:Popover >
            </g:FlowPanel>

So, I want to make some text in content written in bold. In normal bootstrap you can use data-html="true" to enable html and for instance use < strong >, but in gwtbootstrap3 it doesn't work and I get an error "use of < is not allowed".

Beaubeauchamp answered 7/12, 2015 at 20:42 Comment(0)
W
1

you can add the attribute isHtml to true:

<b:Popover  isHtml="true" trigger="HOVER">

:)

Wetzell answered 17/12, 2015 at 15:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.