Previewer doesn't parse css (react)
I was following this issue #206 (closed) where, the demo is using the PagedJS
inside a React application and parse all the css declarations inside index.css
pretty well.
However, this solution uses the polyfill, which applies the transformations from and on the whole DOM. Since I need to process some part of the DOM and preview it in another part, I am trying to use the Previewer
, but for some reason, those css declarations in the index.css
doesn't seems to be considered by the parser. Here is the forked demo using Previewer
.
Is there a way I am missing to make that css work? Otherwise, is there another way to pass those kind of declarations directly to the previewer module?
Thanks and congrats for the awesome library!