How to get current document type
Posted: Wed Nov 25, 2020 7:46 pm
Is it possible to get current document type, whether its DITA or DocBook etc., especially from JavaScript side?
I see getDocument().documentType in AuthorEditingSupport[1] but it reads the documentType property of document always returns null
[1]https://www.oxygenxml.com/maven/com/oxy ... pport.html
I see getDocument().documentType in AuthorEditingSupport[1] but it reads the documentType property of document always returns null
[1]https://www.oxygenxml.com/maven/com/oxy ... pport.html