reveal.js-tagcloud-plugin
reveal.js-tagcloud-plugin copied to clipboard
How to style tagcloud ? -> Have to modify the code.
Hello
I don't have a development environnement. So I can't make a pull request. My problem is to style tagcloud. My organisation made some templates on RevalJS. When i add th plugin I can't style as I want to because of "!important" in the CSS files...that I can't change.
So in the plugin code just change
// Replace the inner html of the slide with the formatted tags
cloud.innerHTML = formatTags(cloud.innerHTML) ;
by
// Replace the inner html of the slide with the formatted tags
cloud.innerHTML = "<tagcloud>" + formatTags(cloud.innerHTML) + "</tagcloud>";
Now you can style tagcloud as you can style section in a CSS file.