ONLYOFFICE Workspace 12.5: enhanced security, optimized document management, Dark theme, and more
ONLYOFFICE Workspace 12.5 released

How to pass extra data to docx editor

Hello, when I render the <DocumentEditor /> component, is there any way to pass in extra data to the editor such that it can read it from the plugin? For example

  extraData={{ foo: "bar" }}

Hello @fr3fou

Do I understand correctly that you are trying to integrate Document Server to your app via custom HTML tag? If that is so then please visit this page to check out which div tag should be used:

I’m using the @onlyoffice/document-editor-react package. I’d like to to pass in extra data from my React app to my Plugin inside the editor. How can I achieve that?

Hello again @fr3fou

Thank you for clarifying.
We are checking the situation. I will update this thread once I get any information.