Page 1 of 1
Is the showDitaMapView URL parameter active ?
Posted: Fri Jul 07, 2023 10:28 am
by Vince
Hello,
Following
https://www.oxygenxml.com/doc/versions/ ... aunch.html guide , I add a showDitaMapView=false to the edit link that will Launch Web Author.
This parameter seems no to work.
Regards,
Vincent
Re: Is the showDitaMapView URL parameter active ?
Posted: Fri Jul 07, 2023 11:50 am
by Bogdan Dumitru
Hello Vincent,
The showDitaMapView URL parameter denotes whether or not the DITA Map side-view is expanded or not when the editor loads. In both cases, the side-view is installed. You may opt to use "&showDitaMapView=false" if you have a small screen and want the side-view to be collapsed when opening a document.
See the below examples:
Re: Is the showDitaMapView URL parameter active ?
Posted: Fri Jul 07, 2023 12:15 pm
by Vince
Hum, ok, I understand !
But is there an option not to display at all this side view ?
I try this code, but without success
Code: Select all
workspace.getViewManager().removeView('dita-map-view')
Regards,
Vincent
Re: Is the showDitaMapView URL parameter active ?
Posted: Fri Jul 07, 2023 12:58 pm
by Bogdan Dumitru
Hi VInce,
Maybe you call the "removeView" before the view is installer.
I've executed "workspace.getViewManager().removeView('dita-map-view')" in browser console and it worked.