How to customize the Behavior of Drag/Drop Operations ?
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 64
- Joined: Wed Dec 03, 2014 11:25 am
How to customize the Behavior of Drag/Drop Operations ?
Hello,
Reading the web page https://www.oxygenxml.com/doc/versions/ ... aid-title5, I see :
Regards,
Vincent
Reading the web page https://www.oxygenxml.com/doc/versions/ ... aid-title5, I see :
From this post post60111.html#p60111, I read :To customize what element gets inserted when a link is dropped, one can use the ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler Java API.
So, my question is : do we need to use java API or define a js plugin to handle the Behavior of Drag/Drop Operations into Oxygen Web Author ?At the moment all drag and drop handling is done on the client-side.
Regards,
Vincent
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: How to customize the Behavior of Drag/Drop Operations ?
Post by cristi_talau »
Hello,
Drag & Drop involves both browser-side functionality and server-side processing of the objects that were dropped. To help you decide which path to follow, we need to understand your use-case better.
For, example, if you want to customize the XML element inserted when the user drops a link in the editor, you may need to use the Java API.
If you want to implement a side-view with objects that can be dropped in the editor, you may need to use the JS API.
Best,
Cristian
Drag & Drop involves both browser-side functionality and server-side processing of the objects that were dropped. To help you decide which path to follow, we need to understand your use-case better.
For, example, if you want to customize the XML element inserted when the user drops a link in the editor, you may need to use the Java API.
If you want to implement a side-view with objects that can be dropped in the editor, you may need to use the JS API.
Best,
Cristian
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