Posted 26 October 2023, 1:48 pm EST
Hi, I am using SpreadJS Designer in React. Is there any way to integrate SpreadJS with another library? For example, embedding a WYSIWYG editor as a floating object into SpreadJS.
Forums Home / Spread / SpreadJS
Posted by: rishi.israni on 26 October 2023, 1:48 pm EST
Posted 26 October 2023, 1:48 pm EST
Hi, I am using SpreadJS Designer in React. Is there any way to integrate SpreadJS with another library? For example, embedding a WYSIWYG editor as a floating object into SpreadJS.
Posted 26 October 2023, 9:08 pm EST
Hi,
Adding, a text editor in a floating object may conflict with the floating object life cycle instead of a floating object you may create a custom cell type and may create show the rich text there. Please refer to the following sample and demonstrate the same and let me know if you face any issues.
sample: https://codesandbox.io/s/spread-js-starter-forked-kxzk82?file=/src/index.js
Also, note that all the third-party libraries should be based on pure JS spreadJS do not support Reactcompone as a custom element.
Regards,
Avinash