Hello,
I upgraded xwiki 7.0.1 to 8.2.1 but it seem that
bootstrap/tooltip doesn't work anymore.
I use bootstrap to show tooltip:
https://bootstrapdocs.com/v3.3.6/docs/javascript/#tooltips
In my page I paste this code:
{{html}}
<button type="button" class="btn btn-default"
data-toggle="tooltip"
data-placement="right" title="Tooltip on right">Tooltip on
right</button>
{{/html}}
and add a JSX object with jquery to call tooltip:
require(['jquery'], function ($) {
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
});
NB: if I paste this code:
{{html}}
<script type="text/javascript"
src="/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1"></script>
<script type="text/javascript"
src="/xwiki/webjars/wiki%3Axwiki/bootstrap/3.3.6/js/bootstrap.min.js?r=1"></script>
<button type="button" class="btn btn-default"
data-toggle="tooltip"
data-placement="right" title="Tooltip on right">Tooltip on
right</button>
{{/html}}
tooltip working well.
I tested on a page from xwiki 7.0.1 and exported on jetty package 8.2.1
but I didn't found the error in HTML source.
Thxs for any help
Pascal B