Box Content Preview Navigation and CSS Question?
AnsweredI am using the Box Content Preview JavaScript library, for the box implementation. I have two questions:
1) We need to change the position of the .bp-controls (page up, page down, fullscreen). What's the right way to do this, keeping in mind this needs to work with new updates. Or is it maybe possible to set own controls?
2) The preview.css, sets some global things like font-size for the body. The Box is not using iframes anymore, so you can see the problems here. Any advice here? My solution now is to load the preview css first, and then reset the font-size etc.
-
Hi there,
We are getting ready to make Box Content Preview generally available.
1) We need to change the position of the .bp-controls (page up, page down, fullscreen). What's the right way to do this, keeping in mind this needs to work with new updates. Or is it maybe possible to set own controls?
We will be opening the source code for Box Content Preview which will allow you to define your own controls. This will be available later this week on Github.
2) The preview.css, sets some global things like font-size for the body. The Box is not using iframes anymore, so you can see the problems here. Any advice here? My solution now is to load the preview css first, and then reset the font-size etc.Thank you for raising this issue. We will fix this and release a new version.
I hope this helps!
Please sign in to leave a comment.
Comments
2 comments