You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run this code the rendered html returned is the contents of the index.html document used by my React app, not the chapter requested. It returns this same html no matter which spine item I request. The other section values are correct, representing information about the section at the requested href, with the notable exception of section.output which also contains index.html values, not the chapter html.
If I used book.renderTo to create a rendition then call redition.display(href) I get the correct html in an iframe as expected.
The text was updated successfully, but these errors were encountered:
I'm trying to get a version of the renderless example working in my React app.
When I run this code the rendered html returned is the contents of the
index.html
document used by my React app, not the chapter requested. It returns this same html no matter which spine item I request. The other section values are correct, representing information about the section at the requested href, with the notable exception ofsection.output
which also containsindex.html
values, not the chapter html.If I used
book.renderTo
to create arendition
then callredition.display(href)
I get the correct html in an iframe as expected.The text was updated successfully, but these errors were encountered: