reveal.js-tagcloud-plugin icon indicating copy to clipboard operation
reveal.js-tagcloud-plugin copied to clipboard

How to style tagcloud ? -> Have to modify the code.

Open Welsh44 opened this issue 6 years ago • 0 comments

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.

Welsh44 avatar Dec 21 '18 13:12 Welsh44