editorAboutToBeSavedVeto with automatic saves
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 240
- Joined: Wed Jun 17, 2015 12:46 pm
editorAboutToBeSavedVeto with automatic saves
Hello,
In Author web, we have set up a control to prevent saving when the document is invalid.
To do this, we've used the editorAboutToBeSavedVeto method.
We'll now take a look at setting up automatic saving with
We note that automatic saves do not trigger the editorAboutToBeSavedVeto method.
We'd still like to prevent saving (even automatically) when the document is invalid.
Is this possible?
Thank you for your help,
Johann
In Author web, we have set up a control to prevent saving when the document is invalid.
To do this, we've used the editorAboutToBeSavedVeto method.
We'll now take a look at setting up automatic saving with
Code: Select all
e.options.autoSaveInterval
We'd still like to prevent saving (even automatically) when the document is invalid.
Is this possible?
Thank you for your help,
Johann
-
- Site Admin
- Posts: 234
- Joined: Wed Aug 30, 2023 2:33 pm
Re: editorAboutToBeSavedVeto with automatic saves
Hi,
Unfortunatelly currently there is no API to intercept autosave in Oxygen XML Web Author. But we have an issue registered in our internal issue tracker and I've registered your interest.
If you absolutely need to block saving invalid docs, you may consider using that sample plugin and disabling autosave with &autoSaveInterval=0 URL parameter.
Also, we created a plugin that blocks saving invalid documents, but automatic saves are not blocked [1]
[1] https://github.com/oxygenxml/web-author ... if-invalid
Unfortunatelly currently there is no API to intercept autosave in Oxygen XML Web Author. But we have an issue registered in our internal issue tracker and I've registered your interest.
If you absolutely need to block saving invalid docs, you may consider using that sample plugin and disabling autosave with &autoSaveInterval=0 URL parameter.
Also, we created a plugin that blocks saving invalid documents, but automatic saves are not blocked [1]
[1] https://github.com/oxygenxml/web-author ... if-invalid
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service