How to I customize side panel and toolbar

mitpatoliya
Posts: 14

How to I customize side panel and toolbar

Fri Jun 03, 2016 1:43 pm

Hi, I am using oxygen web author platform for dita editing.
I want to remove "Attributes" section from side panel and want to get rid of dita toolbar appears on top with all dita editing options.

How can I do that using plugin.js. I am already using plugin.js and able to disable few options from editor.

Thanks in advance.
cristi_talau
Posts: 170

Re: How to I customize side panel and toolbar

Fri Jun 03, 2016 5:09 pm

Hello,

In order to delete a side-view you can use the tutorial here.

https://www.oxygenxml.com/maven/com/oxy ... mview.html

If you want to remove the actions from the toolbar you can use the same method as for deleting them from the context menu.

Best,
Cristian
mitpatoliya
Posts: 14

Re: How to I customize side panel and toolbar

Mon Jun 06, 2016 3:10 pm

Hello Cristi,

Thanks again for one more quick response.
I tried with following code in my plugin.js but that attribute panel is still there.

Code: Select all

workspace.getViewManager().removeView('attributes-panel-table');
cristi_talau
Posts: 170

Re: How to I customize side panel and toolbar

Mon Jun 06, 2016 4:40 pm

Hello,

The line is correct, but should be executed as soon as your plugin JS file is loaded. For example, try putting it as the first line in the JS file.

Best,
Cristian
mitpatoliya
Posts: 14

Re: How to I customize side panel and toolbar

Mon Jun 06, 2016 4:59 pm

Awesome, that does the trick :).

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 3 guests