Solved
I am getting the error while previewing a file using Content Explorer?
I am using the following references,
href="https://cdn01.boxcdn.net/platform/elements/16.0.0/en-US/explorer.css
src="https://cdn01.boxcdn.net/platform/elements/16.0.0/en-US/explorer.js
Best answer by Niladri
Hi @ostefaniuk,
Yes, we have fixed the issue.
We were using RequireJS library which caused the preview issue.
However, we have fixed the issue by forwarding ‘fixDependencies’ property to Content Preview widget by using ‘contentPreviewProps’ property.
Please find the following code snippet:
var contentExplorer = new Box.ContentExplorer();
contentExplorer.show(folderId, accessToken, {
container: ".explorer-container",
contentPreviewProps: {
fixDependencies: true
}
});
Regards,
Niladri
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.