Start a new topic
iink SDK Web
Hello,
In this example, it shows how to setup the editor in React, but how do I get the value and use it in a React component from the editor. I can't find any docs about it, it will be very helpful if someone can give me a guide.https://github.com/MyScript/web-integration-samples/blob/master/react-integration-examples/src/App.js
Thanks in advance
Dear Chun Bo Zhao,
thank you for contacting us.
Currently, you can refer to the MyScriptJS API documentation: https://myscript.github.io/MyScriptJS/docs/
In the current case, you shall use the "Export" function: https://myscript.github.io/MyScriptJS/docs/class/src/Editor.js~Editor.html#instance-method-export_
The latter allows to export as Text, JIIX, Image... depending on your use-case.
You can also find examples of the MySriptJS: https://myscript.github.io/MyScriptJS/examples/
In your particular case, you can refer to the Export sample: https://myscript.github.io/MyScriptJS/examples/non-version-specific/on_demand_exports.html
And the source code is also available: https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/on_demand_exports.html
Best regards,
Olivier
Thank you Olivier!
CHUN BO ZHAO
Hello,
In this example, it shows how to setup the editor in React, but how do I get the value and use it in a React component from the editor. I can't find any docs about it, it will be very helpful if someone can give me a guide.
https://github.com/MyScript/web-integration-samples/blob/master/react-integration-examples/src/App.js
Thanks in advance
Dear Chun Bo Zhao,
thank you for contacting us.
Currently, you can refer to the MyScriptJS API documentation: https://myscript.github.io/MyScriptJS/docs/
In the current case, you shall use the "Export" function: https://myscript.github.io/MyScriptJS/docs/class/src/Editor.js~Editor.html#instance-method-export_
The latter allows to export as Text, JIIX, Image... depending on your use-case.
You can also find examples of the MySriptJS: https://myscript.github.io/MyScriptJS/examples/
In your particular case, you can refer to the Export sample: https://myscript.github.io/MyScriptJS/examples/non-version-specific/on_demand_exports.html
And the source code is also available: https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/on_demand_exports.html
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstCHUN BO ZHAO
Thank you Olivier!
Olivier @MyScript
Dear Chun Bo Zhao,
thank you for contacting us.
Currently, you can refer to the MyScriptJS API documentation: https://myscript.github.io/MyScriptJS/docs/
In the current case, you shall use the "Export" function: https://myscript.github.io/MyScriptJS/docs/class/src/Editor.js~Editor.html#instance-method-export_
The latter allows to export as Text, JIIX, Image... depending on your use-case.
You can also find examples of the MySriptJS: https://myscript.github.io/MyScriptJS/examples/
In your particular case, you can refer to the Export sample: https://myscript.github.io/MyScriptJS/examples/non-version-specific/on_demand_exports.html
And the source code is also available: https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/on_demand_exports.html
Best regards,
Olivier