Please give a brief summary of your issue:
(Think of this as an email subject)
How to delete Web Viewer HTML Inline Style, when closed webviewer.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
When WebViewer is rendering, the root value is entered as an inline style in the sytle of the html tag, which is currently a problem because it overlaps with our basic style.
Is it possible for me to arbitrarily adjust the values that go into the online style when I end WebViewer or in the html tagβs sytle? Or I donβt want this function to work at all.
Please provide a link to a minimal sample where the issue is reproducible: none
Hello, I'm AiRon, an automated tech support bot π€ While you wait for one of our customer support representatives, I can help you with your question.
When using Apryse's WebViewer, inline styles are often applied to elements for rendering purposes. If these styles are conflicting with your existing styles, you may want to remove or adjust them when closing the WebViewer. Unfortunately, there isn't a built-in method to prevent these inline styles from being applied initially, but you can manipulate the DOM after the WebViewer is closed.
Some things you can try:
Listen for WebViewer events that indicate it is closing or has closed, then remove or adjust the inline styles using JavaScript.
Use JavaScript to select elements with inline styles and modify them as needed after WebViewer has been initialized or closed.
Consider overriding styles with more specific CSS rules to ensure your styles are applied.
If you can elaborate on your workflow or clarify what βend/close WebViewerβ means, I can support you more accurately. Thank you!
If you are referring to WebViewer CSS, you can customize the styles by adding the css property into the WebViewer constructor and referencing the css file:
As the webviewer loaded as shown in the attached photos, our basic style was broken by applying the inline style to the html tag. What I want to check is if there is a way to remove the applied html inline style when the webviewer closes.