3 ms·
This is exactly what I needed, but I need JS or Python backend. Any chance to make it work?
by sscarduzio 2y ago
This is exactly what I needed, but I need JS or Python backend. Any chance to make it work?
- adrianthedev 2y agoThe JS side is made in StimulusJS. You can take it, it's MIT. I haven't worked with python and don't have plans to port it to React or anything else. If you do start work on it, I can guide you though the process if you need a hand...
- adenta 2y agoIf I was to build out a react integration, would you recommend: A. Rebuild the stimulus portions in react B. Write a react wrapper around the stimulus I use rails for everything I do, but like to use vite_rails on the front end for react. Excited to use this library!
- adrianthedev 2y agoHmmm... My responsible developer gut tells me to redo it in React so you don't import StimulusJS just to render one editor. It's like having jQuery as a dependency in a React project.
- adenta 2y agoAnother question: Does this integrate with action_text? Wasn’t that a big thing in rails 6/7, with like… trix?
- adrianthedev 2y agoIn theory it does. The thing with ActionText is that it adds some HTML to the content, but in theory it should work.