Search found 145 matches

by Bogdan Dumitru
Tue Apr 18, 2023 6:41 pm
Forum: Feature Request
Topic: regarding images are loading every time while loading the editor
Replies: 18
Views: 2728

Re: regarding images are loading every time while loading the editor

Hi, There is no way to cache images using the WebappStaticResourcesFolder plugin extension. We've deduced that you're using this extension because of the paths containing "plugin-resources". One solution to cache images client-side would be to retrieve images using a WebappServlet plugin e...
by Bogdan Dumitru
Thu Apr 13, 2023 11:56 am
Forum: Feature Request
Topic: make action disable in read only mode
Replies: 10
Views: 1546

Re: make action disable in read only mode

Hi,

Does the How to Remove a Toolbar Button topic from the Oxygen XML Web Author JavaScript API manual helps?
by Bogdan Dumitru
Wed Apr 12, 2023 2:14 pm
Forum: Feature Request
Topic: make action disable in read only mode
Replies: 10
Views: 1546

Re: make action disable in read only mode

Regarding "one more query", please provide more information. What are you trying to solve exactly? By the way, I think it would be great to post on a dedicated thread on the Oxygen Forum because that way you have higher chances to be helped by other people too, not just from the people int...
by Bogdan Dumitru
Wed Apr 12, 2023 2:11 pm
Forum: Feature Request
Topic: make action disable in read only mode
Replies: 10
Views: 1546

Re: make action disable in read only mode

Hello, To make a Web Author action (sync.api.AbstractAction) disabled or enabled depending on the read-only state of the editor (or of the document) you have to implement the isEnabled() method and return true and false depending on the read-only state. Somewhat like this: "return this.editor_....
by Bogdan Dumitru
Fri Mar 31, 2023 11:24 am
Forum: Common Problems
Topic: Ordered list initial number
Replies: 3
Views: 747

Re: Ordered list initial number

Hi, We strongly suggest not building any customization that relies on the HTML DOM it's not an API of the application, thus you might generate subtle bugs and it might not work in a future version of Oxygen XML Web Author. See the Oxygen SDK for the Java API and the Customizing Web Author Using Java...
by Bogdan Dumitru
Mon Mar 27, 2023 11:16 am
Forum: Common Problems
Topic: shortcut for right pane and need toolbar to scroll at start in one click
Replies: 4
Views: 597

Re: shortcut for right pane and need toolbar to scroll at start in one click

Hi Shikhar,

We've registered a feature request on our internal issue tracker to create an API to collapse a side panel.
by Bogdan Dumitru
Fri Mar 24, 2023 1:10 pm
Forum: Common Problems
Topic: shortcut for right pane and need toolbar to scroll at start in one click
Replies: 4
Views: 597

Re: shortcut for right pane and need toolbar to scroll at start in one click

Hello Shikhar, Regarding the attributes panel, there is an API that can be used to focus a side-view, sync.view.ViewManager.focusView but we don't have one to close a side-view. By the way, do you specifically want to close (collapse) the side-view or just move the focus to the editor? Also notice t...
by Bogdan Dumitru
Wed Mar 22, 2023 12:46 pm
Forum: Common Problems
Topic: Ordered list initial number
Replies: 3
Views: 747

Re: Ordered list initial number

Hello, The problem that you encountered is caused by the fact that Oxygen XML Web Author lets the browser evaluate "counter-reset" and "counter-increment" CSS properties but the browser fails to evaluate "oxy_xpath" which is Oxygen-specific. So you cannot use "oxy_...
by Bogdan Dumitru
Thu Mar 02, 2023 11:10 am
Forum: Common Problems
Topic: Facing issues while loading class from JavaScript side
Replies: 3
Views: 551

Re: Facing issues while loading class from JavaScript side

Hi Smita, We've analyzed the ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation API and we sense that a problem may arise if in your AlignTableContentOperation class that extends it, the constructor without arguments is missing. Without it, the application cannot instantiate obj...
by Bogdan Dumitru
Wed Mar 01, 2023 4:22 pm
Forum: Common Problems
Topic: Facing issues while loading class from JavaScript side
Replies: 3
Views: 551

Re: Facing issues while loading class from JavaScript side

Hello, To invoke a ro.sync.ecss.extensions.api.AuthorOperation programmatically, from JavaScript you have to use sync.api.ActionsManager.invokeOperation(). A possible error may be caused by missing the WebappRestSafe declaration, please see this page . If that doesn't help you please give us more de...
by Bogdan Dumitru
Tue Feb 28, 2023 6:22 pm
Forum: Common Problems
Topic: Intelligent tag insertion
Replies: 3
Views: 572

Re: Intelligent tag insertion

Hello Shilpa, In Oxygen XML Editor there are a few options that can be configured in the Options menu, Preferences, Editor, Edit Modes, Author, Schema-Aware, Content Completion, like "Show all possible elements in the content completion list". Some of the Oxygen XML Editor options are supp...
by Bogdan Dumitru
Fri Feb 17, 2023 6:42 pm
Forum: Feature Request
Topic: Calling async invokeOperation on sync isEnable
Replies: 2
Views: 822

Re: Calling async invokeOperation on sync isEnable

Hello, Notice that even if an element is not allowed in a position, the Web Author inspects the surrounding positions in order to find one where the element is allowed accordingly to the schema. This is particularly useful when working in the No Tags mode because it allows users to insert elements w...
by Bogdan Dumitru
Wed Feb 15, 2023 1:13 pm
Forum: Common Problems
Topic: CALS Table functions
Replies: 10
Views: 1257

Re: CALS Table functions

Hello Shilpa, The "calsColSpec" variable might be null if the AuthorTableCellSpanProvider is created on the wrong element (tableHelper.getTableCellSpanProvider(tableElement)). The "getTableCellSpanProvider" method should be called with the parameter that has the "display: ta...
by Bogdan Dumitru
Mon Feb 13, 2023 6:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author and prolog updater
Replies: 8
Views: 970

Re: Oxygen XML Web Author and prolog updater

Hello, You can add the Jar to the framework's classpath but that will just make the plugin classes available to the framework classes, like the ExtensionBundle class that Mihaela referred to. Notice that the oxygen-dita-prolog-updater-addon is open-source, so you can draw inspiration from it, see es...
by Bogdan Dumitru
Thu Feb 02, 2023 4:03 pm
Forum: Common Problems
Topic: oxy_editor and Save button behavior
Replies: 1
Views: 549

Re: oxy_editor and Save button behavior

Hello Johann,

We've registered an issue in our internal issue tracker, thank you for reporting! Unfortunately, there isn't a quick fix for this problem that you can apply right now.
by Bogdan Dumitru
Tue Jan 31, 2023 3:45 pm
Forum: Common Problems
Topic: unable to run validation when validate.as.you.type option is ser to false.
Replies: 5
Views: 994

Re: unable to run validation when validate.as.you.type option is ser to false.

Hello, Thank you for sharing with us your interesting use case. So, if we understood correctly, you want to keep track of the validation errors that each save solves. Web Author has an API that allows you to add only a listener only for saving but it doesn't have one for autosave. So, in theory, you...
by Bogdan Dumitru
Mon Jan 30, 2023 3:36 pm
Forum: Common Problems
Topic: Define framework usage context (desktop or web author)
Replies: 4
Views: 809

Re: Define framework usage context (desktop or web author)

Hello,
You might need to specify "<priority>High</priority>" in your script, see the "priority" element from the Extending the Built-in DITA Framework example.
by Bogdan Dumitru
Thu Jan 12, 2023 12:12 pm
Forum: Common Problems
Topic: Create node using text available
Replies: 1
Views: 420

Re: Create node using text available

Hello Smita,

Could you please elaborate on the question?

By "authornode" you're refferring the AuthorNode Java interface from the Oxygen SDK?
What do you mean by "in context"?
What have you tried and what were the results?
by Bogdan Dumitru
Mon Jan 09, 2023 5:07 pm
Forum: Common Problems
Topic: Selecting the element from the middle of its content
Replies: 8
Views: 1268

Re: Selecting the element from the middle of its content

Hello Smita, We've analyzed in depth your requirement and unfortunately, Web Author doesn't have such a configuration option that can be enabled to have only balanced selections. We've analyzed how would that be implemented with the currently existing API and many questions arise. We propose to anal...
by Bogdan Dumitru
Fri Jan 06, 2023 12:15 pm
Forum: Common Problems
Topic: How to configure or update some changes to UTF-8 Char Picker v24.1 plugin?
Replies: 12
Views: 1732

Re: How to configure or update some changes to UTF-8 Char Picker v24.1 plugin?

Hello Shreya, So the problem is that you click "Apply" but nothing happens and the dialog is still presented, right? If yes, could you please share the plugin with us so that we can reproduce the problem and find a solution? You can send it via the form from here: https://www.oxygenxml.com...
by Bogdan Dumitru
Tue Dec 27, 2022 11:24 am
Forum: Common Problems
Topic: No xml tags are displaying in print
Replies: 20
Views: 1668

Re: No xml tags are displaying in print

Hello,

To overcome this, specify the "-webkit-print-color-adjust:exact;" CSS property.
So the complete CSS would be:

Code: Select all

@media print {
  .tag-full.tag-full {
    display: inline !important;
    -webkit-print-color-adjust:exact;
  }
}
by Bogdan Dumitru
Thu Dec 22, 2022 2:51 pm
Forum: Common Problems
Topic: spaces are getting trimmed from content
Replies: 7
Views: 914

Re: spaces are getting trimmed from content

Hi again, Do you encounter this problem if you insert the fragment manually in the text page (Edit as XML) and then switch to author mode? If after the switch you don't see whitespaces preserved inside the element, then check that you have the "white-space: pre" specified in the framework'...
by Bogdan Dumitru
Thu Dec 22, 2022 2:33 pm
Forum: Common Problems
Topic: spaces are getting trimmed from content
Replies: 7
Views: 914

Re: spaces are getting trimmed from content

Hi Smita, Your spaces are inside the elements within your fragment, or around them? Could you please share the fragment? If the spaces are inside an element, the element has the "white-space: pre" CSS property specified? Note that spaces are preserved only if the "white-space" pr...
by Bogdan Dumitru
Mon Dec 19, 2022 7:31 pm
Forum: Common Problems
Topic: Document is dirty after undo
Replies: 11
Views: 1188

Re: Document is dirty after undo

Hello Shilpa, Regarding your affirmation "when we do not find any changes then we throw error" - we understand that you have your own diff solution, different than the one within Web Author, a solution that breaks when the documents are equal. We kindly suggest considering fixing your solu...
by Bogdan Dumitru
Wed Dec 14, 2022 2:10 pm
Forum: Common Problems
Topic: How to get nodes xpath
Replies: 1
Views: 423

Re: How to get nodes xpath

Hello Shilpa, By "but i want whole parent xpath as well" do you mean that you want to access the parent nodes of the node at caret? If yes, note that you can use the "parentNode" property like this: var nodeAtSelection = editor.getSelectionManager().getSelection().getNodeAtSelect...
by Bogdan Dumitru
Fri Dec 09, 2022 5:46 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1379

Re: Functions related to table

Hello Smita,

Yes, we can schedule a meeting.
Please contact us at support@oxygenxml.com in order to schedule the meeting at a time that suits both of us.
by Bogdan Dumitru
Fri Dec 09, 2022 3:41 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1379

Re: Functions related to table

Hello Smita, The AuthorTableAccess.getTableColSpanIndices(AuthorElement) API method indeed says that returns null if the given element does not correspond to a cell and the important detail here is that it checks if the given element is a table cell by inspecting its styles, more specifically the &q...
by Bogdan Dumitru
Fri Dec 09, 2022 1:02 pm
Forum: Common Problems
Topic: ask editor variable with ChangeAttributesOperation
Replies: 4
Views: 870

Re: ask editor variable with ChangeAttributesOperation

Hello Johann, Note that you can easily implement your own dialog that allows invoking the operation with an empty value: create a custom AbstractAction and register it to the ActionsManager , as this tutorial shows retrieve user input by showing a Dialog with the two input fields within your action'...
by Bogdan Dumitru
Wed Dec 07, 2022 12:55 pm
Forum: Common Problems
Topic: Default icon oxy_url
Replies: 3
Views: 670

Re: Default icon oxy_url

Hello Johann, You can do this but only with a hack, add the below CSS as an application style (like this sample plugin does [1]) and then override the "BrokenImage24.png" and "BrokenImage24 @ 2x.png" images from "oxygen-xml-web-author\tomcat\webapps\oxygen-xml-web-author\app...
by Bogdan Dumitru
Thu Dec 01, 2022 11:54 am
Forum: Common Problems
Topic: How to dynamically call register action
Replies: 5
Views: 818

Re: How to dynamically call register action

Hello Smita, One easy solution would be to make the dialog modal so that users would be able to interact only with the dialog so that they won't be able to change the selection by clicking or arrow keys. See sync.api.Dialog.setModal API method. Would that work for you? If not, you can listen for sel...