Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use the editor in read-only mode like a browser for displaying pages?

0
Posted

How can I use the editor in read-only mode like a browser for displaying pages?

0

This will work in the Enterprise version only. Do the following: hTMLEditor.setBrowsingInPreviewEnabled(true); – this will enable hyperlinks in the preview section and when you click on them you will able to navigate through the pages. hTMLEditor.setVisualEditorFollowsPreview(true); – if you use this method in conjunction with the one above, the visual editor will follow the preview. This way will be possible to navigate to a certain page in the preview and after that switching to the visual editor edit it directly. hTMLEditor.setPreviewModeOnly(true); – if you use this method in conjunction with the setBrowsingInPreviewEnabled(true), will be shown only the preview section, thus converting the editor in a browser.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123