Action separators in Web Author Toolbar menus
Oxygen general issues.
-
- Posts: 16
- Joined: Tue Nov 13, 2007 6:02 pm
Action separators in Web Author Toolbar menus
Is there an acceptable method for getting Web Author to recognize action.separator instances in Toolbar menus? Or, is there a way to generate action separation in Toolbar menus in Web Author?
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Action separators in Web Author Toolbar menus
Post by cristi_talau »
Hello,
In Web Author some toolbars are built in and others are configured in the framework. For those configured in the framework, the action separators are displayed by default. There seems to be a problem with your Web Author deployment. Some information would be helpful to troubleshoot the problem:
- What version of Web Author do you use?
- Do you see any errors in the Chrome's Dev Tools? (Press F12 and go to the Console tab).
- Does this happen if you open a file that uses a builtin framework?
- Does this happen if you remove all the custom plugins (you can leave the ones that came with Web Author)?
Best,
Cristian
In Web Author some toolbars are built in and others are configured in the framework. For those configured in the framework, the action separators are displayed by default. There seems to be a problem with your Web Author deployment. Some information would be helpful to troubleshoot the problem:
- What version of Web Author do you use?
- Do you see any errors in the Chrome's Dev Tools? (Press F12 and go to the Console tab).
- Does this happen if you open a file that uses a builtin framework?
- Does this happen if you remove all the custom plugins (you can leave the ones that came with Web Author)?
Best,
Cristian
-
- Posts: 16
- Joined: Tue Nov 13, 2007 6:02 pm
Re: Action separators in Web Author Toolbar menus
Cristian,
We're running Web Author 18.1, build 2016101802.
No errors being thrown to Console. We have no custom plugins deployed.
What I'm referring to is visibility of action.separator on drop-down menus from the Toolbar associated with the custom document type framework we've developed. The action.separators are visible on the Toolbar at the top (parent) level between action.groups, but not visible on any child-level drop-down menus.
We're running Web Author 18.1, build 2016101802.
No errors being thrown to Console. We have no custom plugins deployed.
What I'm referring to is visibility of action.separator on drop-down menus from the Toolbar associated with the custom document type framework we've developed. The action.separators are visible on the Toolbar at the top (parent) level between action.groups, but not visible on any child-level drop-down menus.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Action separators in Web Author Toolbar menus
Post by cristi_talau »
Hello,
I was able to reproduce the problem regarding the toolbar separators. We are going to fix this problem in the next v20.0 maintenance build. Meanwhile, for your version, you can load the code below in Web Author [1].
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ng_js.html
I was able to reproduce the problem regarding the toolbar separators. We are going to fix this problem in the next v20.0 maintenance build. Meanwhile, for your version, you can load the code below in Web Author [1].
Code: Select all
if (sync.api.Version === "v18.1.0") {
goog.ui.ToolbarMenuButton.prototype.getChildCount = function() {
return this.getItemCount();
};
goog.ui.ToolbarMenuButton.prototype.getChildAt = function(x) {
return this.getItemAt(x);
};
goog.dom.appendChild(document.body, goog.dom.createDom('style', null, '.goog-menuseparator:last-child { display: none; }'));
}
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ng_js.html
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Action separators in Web Author Toolbar menus
Hello,
I am updating this thread to let you know that Oxygen XML Web Author 20.1 was release and includes the fix for the action separators problem.
You can find more details about the new version on our website:
https://www.oxygenxml.com/xml_web_author/whats_new.html
Best Regards,
Mihaela
I am updating this thread to let you know that Oxygen XML Web Author 20.1 was release and includes the fix for the action separators problem.
You can find more details about the new version on our website:
https://www.oxygenxml.com/xml_web_author/whats_new.html
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service