Copy link to clipboard
Copied
I use adobe pdf embed api viewer in IN_LINE mode and cannot separate pages with css. For some reason the selectors I use do not update the document. But when I use the same css selectors in the browser's inspector the pages are separated. I also have to mention that the document is generated with the below js script
function displayDocument(fileName, clientId, arrayBuffer, embedMode) {
var adobeDCView = new AdobeDC.View({clientId: clientId, divId: "adobe-dc-view-id"});
adobeDCView.previewFile({
content:{promise: Promise.resolve(arrayBuffer)},
metaData:{fileName: fileName}
}, {embedMode: embedMode});
}
where the content is an arrayBuffer
Can you suggest a way to separate pages with IN_LINE mode?
There is no official support for using CSS to modify how pages look in Embed.
Copy link to clipboard
Copied
There is no official support for using CSS to modify how pages look in Embed.
Copy link to clipboard
Copied
Any CSS that you add won't be used inside the Embed iframe. That's just standard iframe behavior.