Hi,
splitbrain opened a new pull request at
https://github.com/dokuwiki/dokuwiki/pull/3957:
Previously, elements were wrapped in a div on hover and unwrapped when the
mouse was moved again. This generally worked okay, but led to problems where
the wrapped section contained elements with their own rendering context (video,
object, iframe, ...). The wrapping caused rerendering of these elements
resulting in flicker and layoutshift:
splitbrain/dokuwiki-plugin-vshare#13
cosmocode/dokuwiki-plugin-diagrams#4
This patch changes the higlighting mechanism to always wrap *all* sections in a
div and only toggle classes on hover. Class names have been chosen to be
backwardscompatible, so this should continue to work as before in all templates.
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
d1470e30-df61-11ed-8a78-fce038cdf5c4
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist