Re: [oXygen-user] Update element on save?

2018-04-12 Thread Oxygen XML Editor Support (Radu Coravu)
Hi Tobias, Oxygen has API to modify the Text editing mode (not as evolved as the modification API we have for the Author mode). For example this sample plugin adds a DITA prolog in both the Text or the Author visual editing modes using the available APIs:

Re: [oXygen-user] Update element on save?

2018-04-12 Thread Tobias Fischer | pagina GmbH
Hi Radu, however, I bet David want's to use it in text mode... It's really a pitty that so many of your plugin API's are only available in Author Mode. There's so many power users who could need those API's also in text mode! Best, Tobias Oxygen XML Editor Support (Radu Coravu)

Re: [oXygen-user] Update element on save?

2018-04-12 Thread Oxygen XML Editor Support (Radu Coravu)
Hi David, You would need to implement an Oxygen plugin for this. Maybe you can take a look at this plugin: https://github.com/oxygenxml/ExecuteAuthorActionsOnSaveHook When content is saved in the Author visual editing mode, the plugin can invoke a previously defined Author action. So you do

[oXygen-user] Update element on save?

2018-04-11 Thread David Levy
The current discussion "When a is inserted, it should contain a element" prompts me to ask what I'm sure is a trivial question. I am using Oxygen to edit XML in text mode. I would like an XML element to be updated automatically on save. I am aware of the of the ${date(pattern)}