Search found 96 matches

by Gabriel Titerlea
Fri Sep 22, 2023 1:53 pm
Forum: Feature Request
Topic: Does Web Author Provide jQuery Support?
Replies: 3
Views: 624

Re: Does Web Author Provide jQuery Support?

Hello,

You can expose a WebappStaticResourcesFolder in a plugin and load jquery from that folder by writing a script tag in the oxygen.html file.

Best,
Gabriel
by Gabriel Titerlea
Thu Sep 21, 2023 2:23 pm
Forum: Feature Request
Topic: Does Web Author Provide jQuery Support?
Replies: 3
Views: 624

Re: Does Web Author Provide jQuery Support?

Hello,
At the moment JQuery is loaded in Web Author, but we won't guarantee that it will be available in future versions.
The best approach would be to package JQuery yourself, with the plugin code. And use JQuery.noconflict to avoid JQuery version conflicts.
Best,
Gabriel
by Gabriel Titerlea
Mon Jul 17, 2023 3:46 pm
Forum: Common Problems
Topic: how to track error and error code while EDITOR_LOADING_FAILED
Replies: 3
Views: 530

Re: how to track error and error code while EDITOR_LOADING_FAILED

Hello, One way to change the error message is by modifying the code that reads the content from WebDav [1]. You can throw an IOException with the error message you want and this error message will be displayed when loading fails. Alternatively, you can rewrite the document loading code. You can prev...
by Gabriel Titerlea
Mon Jul 17, 2023 11:36 am
Forum: Common Problems
Topic: how to track error and error code while EDITOR_LOADING_FAILED
Replies: 3
Views: 530

Re: how to track error and error code while EDITOR_LOADING_FAILED

Hello,

We don't expose this information to javascript-plugin-code.
How/From where are you loading your documents? Are you using the WebDav plugin?

Best,
Gabriel
by Gabriel Titerlea
Fri Apr 21, 2023 10:06 am
Forum: Feature Request
Topic: Remove Sign Up and Forgot Password Options
Replies: 2
Views: 994

Re: Remove Sign Up and Forgot Password Options

Hello,

Yes it's possible. You probably have checked the "Allow both LDAP accounts and standard email accounts" option in the Administration page.
Uncheck this option and only LDAP accounts will be allowed to login; disabling Signup and the Forgot password link.

Best,
Gabriel
by Gabriel Titerlea
Fri Feb 03, 2023 2:44 pm
Forum: General XML Questions
Topic: want to change icon color on click of icon
Replies: 3
Views: 1048

Re: want to change icon color on click of icon

Hello, You can add your action to a toolbar and you can specify an HTML element as the icon for that action, on the toolbar. See this post for an example [1]. During the actionPerformed method you can change the HTML element's look as needed. Best, Gabriel [1] https://www.oxygenxml.com/forum/post633...
by Gabriel Titerlea
Fri Dec 02, 2022 2:27 pm
Forum: Other Issues
Topic: Use Form Control to Add Value to Attribute
Replies: 2
Views: 649

Re: Use Form Control to Add Value to Attribute

Hello, If you know all the possible values that the outputclass attribute will have, writing them in the values part should be enough: oxy_combobox(edit @outputclass, values "box-shadow, float-left, other-value1, other-value2") If this solution does not work for you, you'll need to impleme...
by Gabriel Titerlea
Fri Dec 02, 2022 1:20 pm
Forum: Common Problems
Topic: How to dynamically call register action
Replies: 5
Views: 727

Re: How to dynamically call register action

Hello, You can register the listener when you open the dialog. And you can unlisten when the dialog closes. Example: var dialog = workspace.createDialog(); ...... dialog.show(); dialog.onSelect(() -> { eventHandler.unlisten(.....); }); Note that the onSelect callback must be registered again, after ...
by Gabriel Titerlea
Thu Nov 17, 2022 2:56 pm
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello, You can call custom code after the tags-display mode has changed like this (repeat for all tag-related actions): var action = this.actionsManager.getActionById('Author/FullTags'); // save the original actionPerfomed method var actionPerformed = action.actionPerformed; // replace the actionPer...
by Gabriel Titerlea
Wed Nov 16, 2022 3:45 pm
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello,

What are you trying to achieve? Do you want to set a CSS class for the Web Author user interface, or a CSS class/pseudo-class in the edited XML document? What is the expected result of the class change?

Best,
Gabriel
by Gabriel Titerlea
Wed Nov 16, 2022 2:11 pm
Forum: Common Problems
Topic: GitHub Enterprise Submodules Not Load
Replies: 2
Views: 746

Re: GitHub Enterprise Submodules Not Load

Hello Daniel, You need to specify a branch for your submodule descriptor. Either, use ".", to use the same branch as the currently opened file: [submodule "en/users-guide/shared-media"] path = en/users-guide/shared-media url = <https url to the GitHub Enterprise repo> branch = . ...
by Gabriel Titerlea
Tue Sep 27, 2022 2:31 pm
Forum: Common Problems
Topic: Error in Sharepoint plugin configuration dialog
Replies: 6
Views: 1235

Re: Error in Sharepoint plugin configuration dialog

Hello, The requested resource [/oxygenxml-web-author/plugins-dispatcher/sp-oauth] is not available What does the full URL from the browser's address bar look like when you see this error message? The error message indicates that either: The Redirect URL may not have been configured correctly There's...
by Gabriel Titerlea
Mon Sep 26, 2022 1:26 pm
Forum: Common Problems
Topic: Error in Sharepoint plugin configuration dialog
Replies: 6
Views: 1235

Re: Error in Sharepoint plugin configuration dialog

Hello,

Thank you for the bug report. I've registered an internal ticket and we'll update this forum post when these issues have been addressed.
Did you manage to configure the SharePoint connection despite the outdated instructions?

Best,
Gabriel
by Gabriel Titerlea
Thu Aug 18, 2022 4:01 pm
Forum: Common Problems
Topic: How to add or render html page or any window after a click in oxygen
Replies: 3
Views: 675

Re: How to add or render html page or any window after a click in oxygen

Hello, I want to display one custom popup after clicking on button You can open a dialog using the workspace.createDialog [1] API. instead of creating html element as shown below To avoid all that styling code, you can populate the dialog with DOM elements that can be styled using CSS [2]. Best, Gab...
by Gabriel Titerlea
Thu Aug 18, 2022 2:24 pm
Forum: Common Problems
Topic: How to add or render html page or any window after a click in oxygen
Replies: 3
Views: 675

Re: How to add or render html page or any window after a click in oxygen

Hello,

What are you trying o achieve? Depending on your answer we may recommend a different approach.
You can find instructions for how to load custom javascript code in Web Author here [1].

Best,
Gabriel

[1] https://www.oxygenxml.com/doc/versions/ ... lugin.html
by Gabriel Titerlea
Thu Aug 18, 2022 11:47 am
Forum: Common Problems
Topic: Line breaks and empty spaces added when merging
Replies: 10
Views: 3057

Re: Line breaks and empty spaces added when merging

Hello, Content Fusion re-uses the core of Oxygen XML Editor for XML Authoring purposes. This includes the options.xml file. But, we have not implemented a graphical user interface for modifying all the options from the options.xml file, in Content Fusion. We plan on adding more customization feature...
by Gabriel Titerlea
Tue Aug 16, 2022 11:30 am
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello, If removing this line e.options["tags-mode"] = 'full-tags-with-attributes'; does not work, try to inspect the e.options object (console.log('Loading options: ' + e.options)). Maybe the tags-mode property is set in the URL query params? If you can't find the cause of the problem plea...
by Gabriel Titerlea
Thu Aug 11, 2022 11:27 am
Forum: Common Problems
Topic: Line breaks and empty spaces added when merging
Replies: 10
Views: 3057

Re: Line breaks and empty spaces added when merging

Hello,
You can try to create the options.xml file in the /fusion/data/config/webauthor/options directory. Then restart Content Fusion [1].
What version of Content Fusion are you using?

Best,
Gabriel

[1] https://www.oxygenxml.com/doc/versions/ ... start.html
by Gabriel Titerlea
Tue Aug 09, 2022 4:41 pm
Forum: Common Problems
Topic: Line breaks and empty spaces added when merging
Replies: 10
Views: 3057

Re: Line breaks and empty spaces added when merging

The systemlogs from the day Content Fusion was installed might prove useful.

Best,
Gabriel
by Gabriel Titerlea
Tue Aug 09, 2022 3:41 pm
Forum: Common Problems
Topic: Line breaks and empty spaces added when merging
Replies: 10
Views: 3057

Re: Line breaks and empty spaces added when merging

Hello, Unfortunately, there is no such file and the folder is also missing That doesn't sound good, I suspect something went wrong during the installation. If you run these 2 commands what do you see? sudo journalctl -u content-fusion-configure | grep FATAL sudo journalctl -u content-fusion | grep F...
by Gabriel Titerlea
Tue Aug 02, 2022 11:07 am
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello,
There are no errors as well. It is just not reflecting
We need more information to help you. Are there any errors in the browser's console? Can you share your code?
You can upload an archive with relevant information here.

Best,
Gabriel
by Gabriel Titerlea
Mon Aug 01, 2022 11:30 am
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello, It's a normal custom toolbar and these IDs are not working there. How are you building this custom toolbar? You can push a toolbar descriptor to the actionsConfig.toolbars [1] list during the ACTIONS_LOADED [2] event to create your own toolbar. The code I posted should work for any toolbar, n...
by Gabriel Titerlea
Fri Jul 29, 2022 11:27 am
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello, I am trying to change tag display through plugin by invoking JS Operation You don't need to call a JSOperation. The actions that change the tags display mode are already available to call/add to a toolbar from a javascript plugin. The actions are registered with these IDs: Author/NoTags, Auth...
by Gabriel Titerlea
Tue Jul 26, 2022 11:30 am
Forum: Common Problems
Topic: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author
Replies: 18
Views: 2642

Re: Create a display tag dropdown with tag display options as a toolbar action in Oxygen web author

Hello, You can follow the instructions from this tutorial , to add an action to a toolbar. See the "If you want to add the action on the DITA toolbar, in a dropdown" section. Here's an example for how to write a dropdown descriptor that lists tags related actions: { type: "list",...
by Gabriel Titerlea
Tue Jul 05, 2022 3:56 pm
Forum: Feature Request
Topic: Adding comments and processing instructions
Replies: 1
Views: 936

Re: Adding comments and processing instructions

Hello, Indeed, the Comment and Processing Instructions actions are not present in Oxygen XML Web Author. I've registered an internal ticket to fix this, and we'll update this forum post when we have a solution. As a workaround you can extend the DITA framework using a framework extension script [1]....
by Gabriel Titerlea
Mon Jul 04, 2022 11:58 am
Forum: Common Problems
Topic: Vertical Scroll bar to move top of the page
Replies: 1
Views: 530

Re: Vertical Scroll bar to move top of the page

Hello, You can scroll the document in different ways, depending on what you want to achieve. If you want to scroll to a given xml-element you can use the SelectionManager.scrollSelectionIntoView javascript API [1]. Here's an example where I'm scrolling to the beginning of the root element: let selec...
by Gabriel Titerlea
Wed May 04, 2022 10:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2233

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Hello, is it recommended that user closes the browser and return back to oxygen plugin for further work to do? For Oxygen any flow is acceptable. The answer depends on the user-experience you want to provide to plugin users. Ideally the user would be returned to the app (Oxygen Plugin) automatically...
by Gabriel Titerlea
Tue May 03, 2022 2:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2233

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Hello,

Google recommends [1] showing a message that instructs the user to close the browser and return to your app.

Best,
Gabriel
[1] https://developers.google.com/identity/ ... i_loopback
by Gabriel Titerlea
Tue Apr 26, 2022 3:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2233

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Hello, We don't have an example plugin but I think the documentation from google is a good resource for your use-case: https://developers.google.com/identity/protocols/oauth2/native-app This together with the ro.sync.exml.workspace.api.WorkspaceUtilities.openInExternalApplication() API, mentioned by...