Possible to Enable Show XML Action?

Having trouble accessing the Oxygen Content Fusion platform or installing the server solution? Got a bug to report? Post it all here.
dreifsnider
Posts: 131
Joined: Thu Aug 30, 2018 10:06 pm

Possible to Enable Show XML Action?

Post by dreifsnider »

Hi,

Is it possible to enable the Show XML action in Content Fusion? We're hoping to use this to quickly copy over the XML contents of a topic.

I've tried to register it as an action, but it doesn't seem to have any effect and I still cannot see the Show XML action:

Code: Select all

workspace.listen(sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function(e) {
  var editor = e.editor;
  editor.listen(sync.api.Editor.EventTypes.ACTIONS_LOADED, function () {
    const actionIds = [
      'Author/ShowXML',
    ];
    for (const registerAction of actionIds) {
      editor.getActionsManager().registerAction(registerAction);
    }
  });
});
Thanks!
Daniel
cosminef
Site Admin
Posts: 148
Joined: Wed Aug 30, 2023 2:33 pm

Re: Possible to Enable Show XML Action?

Post by cosminef »

Hello,

We responded to this request in the previous post:

viewtopic.php?p=74992#p74992

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
Post Reply