Search found 495 matches

by cristi_talau
Tue Nov 24, 2020 9:54 am
Forum: Common Problems
Topic: Custom-Mapping of IDs to names
Replies: 9
Views: 2970

Re: Custom-Mapping of IDs to names

Hello,

One thing to check: The JAR with the LinkTextResolver should be bundled in the framework archive. The plugins are uploaded in a different location in Web Author.

Best,
Cristian
by cristi_talau
Mon Nov 23, 2020 3:18 pm
Forum: Common Problems
Topic: Extending LinkTextResolver
Replies: 8
Views: 2372

Re: Extending LinkTextResolver

Hello, First of all, the recommended way to authenticate users is described here in our integration guide [1]. Regarding your questions, 1. The link text source is not customizable using CSS. 2. DITALinkText resolver is an all-or-nothing approach. At most you can delegate to the original implementat...
by cristi_talau
Fri Nov 20, 2020 6:24 pm
Forum: Feature Request
Topic: Oxygen Web Author print setup
Replies: 5
Views: 3602

Re: Oxygen Web Author print setup

I am updating this that to let you know that Oxygen XML Web Author version 23 was released it now contains functionality that lets you download the document as PDF. The Print action was also updated to convert the document to PDF first. The PDF output is customizable with CSS. [1] For more details a...
by cristi_talau
Fri Nov 20, 2020 6:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add transform to PDF option in oxygen web author
Replies: 5
Views: 2639

Re: Add transform to PDF option in oxygen web author

I am updating this thread to let you know that Oxygen XML Web Author version 23 was released it now contains functionality that lets you download the document as PDF. The PDF output is customizable with CSS. For more details about this release you can check out the what's new page: https://www.oxyge...
by cristi_talau
Fri Nov 20, 2020 4:52 pm
Forum: Common Problems
Topic: Custom button to open site in a new tab
Replies: 3
Views: 1791

Re: Custom button to open site in a new tab

I am writing to let you know that Oxygen XML Web Author version 23 was released and that now links are opened in a new tab directly, without a preview. This way, even if a page does not support being loaded in an iframe can now be opened. For more details about this release you can check out the wha...
by cristi_talau
Fri Nov 20, 2020 4:50 pm
Forum: Other Issues
Topic: Link attribute in web author for PI element not working
Replies: 15
Views: 4525

Re: Link attribute in web author for PI element not working

Hello, I am writing to let you know that Oxygen XML Web Author version 23 was released and now if you use OpenInSystemAppOperation , the link is opened directly in a new tab. This way errors related to pages that do not support being loaded in an iframe are fixed. For more details about this release...
by cristi_talau
Fri Nov 20, 2020 1:09 pm
Forum: Common Problems
Topic: Document Controller:: insertHtml
Replies: 1
Views: 917

Re: Document Controller:: insertHtml

Hello, First of all, the methods that you discovered are not API. To implement the same behavior using API you should create your own AuthorOperationWithResult [1] and that calls: authorDocumentModel.getActionsSupport().handleHtmlPaste(htmlString); Then invoke this operation from JavaScript code usi...
by cristi_talau
Wed Nov 18, 2020 6:20 pm
Forum: Common Problems
Topic: Adding event listener to images
Replies: 5
Views: 2350

Re: Adding event listener to images

Hello, Starting with version 23.0 (to be released soon), Web Author can be configured to display a contextual floating-toolbar when the user selects an image (e.g. by clicking on it). This floating toolbar could contain a button to trigger the "Replace Image" action that you plan to implem...
by cristi_talau
Mon Nov 16, 2020 8:16 pm
Forum: Common Problems
Topic: Custom-Mapping of IDs to names
Replies: 9
Views: 2970

Re: Custom-Mapping of IDs to names

Hello, 1. Frameworks developed for Oxygen XML Editor are compatible with Web Author. ExtensionsBundle is also supported for Web Author. For example, in DITA, we have the same framework. So, the ExtensionsBundle implemented for the desktop application works in Web Author as well. We did not make any ...
by cristi_talau
Mon Nov 16, 2020 7:47 pm
Forum: Common Problems
Topic: Adding event listener to images
Replies: 5
Views: 2350

Re: Adding event listener to images

Hello, Currently, there is no API to intercept mouse events on an image. To implement such API we need to understand your use-case better: Would it be sufficient to call sync.actions.AbstractAction when the use double-clicks the image? Do you want to do a specific thing, like turn resize handles on?...
by cristi_talau
Mon Nov 16, 2020 12:30 pm
Forum: Common Problems
Topic: Handle drag and drop
Replies: 5
Views: 1776

Re: Handle drag and drop

Hello, Dropping multiple files in the editor is currently not supported. I registered an issue in our internal tracking system. In order to understand the priority of this feature, it would be helpful to share some information about the workflow that requires the ability to drop multiple images. Bes...
by cristi_talau
Thu Nov 12, 2020 9:04 pm
Forum: Common Problems
Topic: Custom-Mapping of IDs to names
Replies: 9
Views: 2970

Re: Custom-Mapping of IDs to names

Hello, Your use-case is fairly common. Regarding the LinkTextResolver approach, I expect to work in Web Author as well. In the DITA framework we use this approach to present topic title for links. Regarding the ID chooser, yes, you will need to create a custom action and bind it to a form control. A...
by cristi_talau
Wed Nov 11, 2020 7:12 pm
Forum: Common Problems
Topic: Not able to edit document. It is always showing "The document is read-only."
Replies: 3
Views: 1470

Re: Not able to edit document. It is always showing "The document is read-only."

Hello,

It seems that the problems comes from the communication between Web Author and Componize. I am trying to get someone from Componize involved as well.

Best,
Cristian
by cristi_talau
Wed Nov 04, 2020 2:56 pm
Forum: XHTML
Topic: namespace attribute on element insertion?
Replies: 1
Views: 5096

Re: namespace attribute on element insertion?

Hello, The XHTML framework has many actions that use InsertFragmentOperation with a fragment that contains the XHTML namespace declaration. If the root element contains the namespace declaration for the default namespace being the XHTML namespace, then the namespace declaration is omitted from the n...
by cristi_talau
Sat Oct 31, 2020 9:32 pm
Forum: Common Problems
Topic: How to load images
Replies: 9
Views: 2655

Re: How to load images

Hello, For Web Author Component Integration starter project, only the framework packaging is different [1]. However, frameworks can be uploaded from the Admin page as well after the resulting web application is installed. Regarding the example framework, you can take a look at the LightWeight DITA f...
by cristi_talau
Fri Oct 30, 2020 9:50 pm
Forum: Common Problems
Topic: How to load images
Replies: 9
Views: 2655

Re: How to load images

Hello,

Here we describe how to create a framework extension [1]. This assumes you have Oxygen XML Editor installed.

Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... zzf_pns_vz
by cristi_talau
Thu Oct 29, 2020 12:38 am
Forum: Common Problems
Topic: How to load images
Replies: 9
Views: 2655

Re: How to load images

Hello, The default DITA CSS uses the value of the href attribute as the relative URL of the image, to be resolved against the URL of the topic. You can write your own CSS as part of a framework [1] to compute the URL in a different way. You can use some Oxygen-specific CSS extensions like oxy_concat...
by cristi_talau
Fri Oct 23, 2020 12:09 pm
Forum: Common Problems
Topic: Custom button to open site in a new tab
Replies: 3
Views: 1791

Re: Custom button to open site in a new tab

Hello, We are aware of this problem and it will be fixed in Web Author version 23.0 which is scheduled in about a month. We will update this thread when the release will be available. The problem is caused because the web page that you want to open does not like to be loaded in an iframe preview. Th...
by cristi_talau
Tue Sep 29, 2020 9:25 pm
Forum: Feature Request
Topic: dynamic action name
Replies: 7
Views: 2700

Re: dynamic action name

Hello, The builtin button does not offer this degree of flexibility. However you can implement a custom form control that behaves like a button, but has a dynamic name. Here is a tutorial [1] and we also have an example which renders MathML equations on GitHub [2]. Best, Cristian [1] https://www.oxy...
by cristi_talau
Fri Sep 25, 2020 4:43 pm
Forum: Common Problems
Topic: Adding xsl-transformation to custom framework
Replies: 12
Views: 4349

Re: Adding xsl-transformation to custom framework

Hello, The sample plugin runs the JS code on the server. The simplest way to query the validation status is to use an AuthorOperationWithResult . We have a tutorial on how to use one here [1]. Best, Cristian [1] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/22.1.0.0/jsdoc/tutorial-oper...
by cristi_talau
Fri Sep 25, 2020 2:58 pm
Forum: Common Problems
Topic: Adding xsl-transformation to custom framework
Replies: 12
Views: 4349

Re: Adding xsl-transformation to custom framework

Hello, The code was intended to be used in a plugin. In a framework you can use the "editorCreated" callback in your extension implementation [1]. There you get a handle on an editor . With that you can listen for ACTIONS_LOADED event and patch the "Commit" action. Also, note tha...
by cristi_talau
Thu Sep 24, 2020 11:56 pm
Forum: Common Problems
Topic: Adding xsl-transformation to custom framework
Replies: 12
Views: 4349

Re: Adding xsl-transformation to custom framework

Hello, The Commit action for Git is different from the "Save". To add some code before it you can use the following JS code: goog.events.listenOnce(workspace, sync.api.Workspace.EventType.EDITOR_LOADED, function(e) { var editor = e.editor; goog.events.listenOnce(e.editor, sync.api.Editor.E...
by cristi_talau
Thu Sep 24, 2020 11:43 pm
Forum: Feature Request
Topic: ${answer feature request
Replies: 1
Views: 1753

Re: ${answer feature request

Hello,

I added your vote to our existing feature request. Currently, this feature is not scheduled for development. I will update this forum post when it will be released.

Best,
Cristian
by cristi_talau
Wed Sep 23, 2020 5:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Simple CSS Popup with Attribute Value on Hover
Replies: 5
Views: 1659

Re: Simple CSS Popup with Attribute Value on Hover

Hello, Sorry for the mistake. The second one is :hover:after. The idea is that the text is there always but invisible. When the row is hovered, it becomes visible. I used ":after" to make room for more layout options. If you use the content property of the row itself you cannot give it pos...
by cristi_talau
Wed Sep 23, 2020 3:45 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Simple CSS Popup with Attribute Value on Hover
Replies: 5
Views: 1659

Re: Simple CSS Popup with Attribute Value on Hover

Hello, The :hover selector in Web Author can just change CSS styles of elements that are already handled. So you should do something like: row[props]:after { content: "props='"attr(props)"'"; visibility: hidden; } row[props]:hover:after { visibility: visible; } I think that the r...
by cristi_talau
Sat Sep 12, 2020 1:15 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML editor feature comparison: Standalone, Web, Eclipse
Replies: 3
Views: 1165

Re: Oxygen XML editor feature comparison: Standalone, Web, Eclipse

IXIASoft is indeed our partener and they offer a complete solution for managing DITA content. Our products are just a part of this solution. We are familiar with the general aspects of this solution, but I am sure that they know the solution in more detail and would be very happy to answer any of yo...
by cristi_talau
Fri Sep 11, 2020 2:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML editor feature comparison: Standalone, Web, Eclipse
Replies: 3
Views: 1165

Re: Oxygen XML editor feature comparison: Standalone, Web, Eclipse

Hello, The "Find in project" action is not supported in Eclipse, because Oxygen Projects are not supported in Eclipse. "Find in the current DITA Map" is also not supported in the Eclipse version. Regarding Web Author, the "search in current ditamap" feature is not suppo...
by cristi_talau
Fri Sep 11, 2020 2:11 pm
Forum: Other Issues
Topic: Link attribute in web author for PI element not working
Replies: 15
Views: 4525

Re: Link attribute in web author for PI element not working

Hello,

The code snippet above works in Web Author version 22.1. For older versions you can replace nodeAtSelection.textContent with nodeAtSelection.getTextContent().

Best,
Cristian
by cristi_talau
Thu Sep 10, 2020 5:40 pm
Forum: Other Issues
Topic: Link attribute in web author for PI element not working
Replies: 15
Views: 4525

Re: Link attribute in web author for PI element not working

Hello,

Indeed, the tooltip is not updated. I registered a bug for this behavior. I will update this forum thread when it will be fixed.

Best,
Cristian
by cristi_talau
Thu Sep 10, 2020 2:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen Web Author copy issues!
Replies: 5
Views: 1684

Re: Oxygen Web Author copy issues!

Hello, Thanks for reporting this issue. I managed to reproduce it. I registered an improvement request for this scenario and I will update this forum post when it will be solved. We expect to release a fix later this year. If this is an urgent issue for you and you have development resources, I can ...