oj icon indicating copy to clipboard operation
oj copied to clipboard

oj "inlineHtml" jquery plugin doesn't insert css correctly

Open evanmoran opened this issue 6 years ago • 1 comments

Should be an easy fix, but tracking this here for now.

evanmoran avatar Dec 14 '18 21:12 evanmoran

The solution is to maintain a global cssMap (see code, to understand). Then as inline css insertions happen, bulk extend the cssMap and regenerate the oj-style element with oj.compile

evanmoran avatar Feb 23 '19 19:02 evanmoran