Search found 10 matches

by Rishabh
Wed Sep 01, 2021 4:37 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

Hi


thank you so much. I have set up oxygen successfully on my server. Thank you for help
by Rishabh
Wed Sep 01, 2021 2:18 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

Hi Thanks for helping. I have successfully set up the above but I just wanted to know how can I make the icon path relative. I want to import all images from the plugin ($PLUGIN/resources/images) folder. But If I am giving this path to the icon it is showing me some rest URLs. Please see the attache...
by Rishabh
Tue Aug 31, 2021 2:53 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

Hi I have successfully added multiple items in the drop-down and done the name conviction part but lastly, I just need to get the value of the selected item from the drop-down menu item (how to get the value from the actionPerformed method). E.g: When a user clicks on the drop-down and selects any i...
by Rishabh
Tue Aug 31, 2021 12:21 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

Hi I have successfully managed to add multiple items in the drop-down menu but can't assign the different names to them. I have created a dropdown and call addDitatoToolbar only once. And in addDitatoToolbar function I have created a set of options array: here is the code: if (ditaToolbar) { let dro...
by Rishabh
Mon Aug 30, 2021 4:39 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

Hi As you mentioned I have added the children's attributes and register them with the action manager. Also added is the get display name method. But with this approach, only one item is rendering. Basically, I want 2 custom toolbars menu lists and 5 options in each dropdown. Below is the code: let c...
by Rishabh
Fri Aug 27, 2021 2:23 pm
Forum: Common Problems
Topic: Custom Toolbar List Menu Items
Replies: 1
Views: 863

Custom Toolbar List Menu Items

Hi, I have successfully implemented the custom toolbar action list. And now my custom toolbar list is showing in the DITA toolbar but in the drop-down menu there are no items is showing. So Can you please tell me how can I add n items to my custom toolbar list menu? With the help of the Javascript P...
by Rishabh
Fri Aug 27, 2021 12:24 pm
Forum: Common Problems
Topic: Custom Toolbar List Menu action
Replies: 1
Views: 1103

Custom Toolbar List Menu action

I have successfully added the custom toolbar action list on DITA toolbar. And now my custom toolbar list is showing in the DITA toolbar but in the drop-down menu there are no items is showing. So Can you please tell me how can I add n items to my custom toolbar list menu? With the help of the Javasc...
by Rishabh
Fri Aug 27, 2021 10:31 am
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Re: Toolbar Customization of Web Author XML

I have successfully added the custom toolbar action list. And now my custom toolbar list is showing in the DITA toolbar but in the drop-down menu there are no items is showing. So Can you please tell me how can I add n items to my custom toolbar list menu? With the help of Javascript Plugin I am att...
by Rishabh
Mon Aug 23, 2021 4:39 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 11
Views: 3267

Toolbar Customization of Web Author XML

Hi I want to edit the toolbar and add a custom action 'outputclass'. But did not found a way how can I do it. Just implemented the below code and it added my custom action i.e 'outputclass' into the toolbar array only. Code: function addToDitaToolbar(editor, actionId) { goog.events.listen(editor, sy...
by Rishabh
Mon Aug 23, 2021 4:35 pm
Forum: Common Problems
Topic: Toolbar Customization of Web Author XML
Replies: 0
Views: 1683

Toolbar Customization of Web Author XML

Hi I want to edit the toolbar and add a custom action 'outputclass'. But did not found a way how can I do it. Just implemented the below code and it added my custom action i.e 'outputclass' into the toolbar array only. Code: function addToDitaToolbar(editor, actionId) { goog.events.listen(editor, sy...