Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is exactly what I needed, but I need JS or Python backend. Any chance to make it work?


The 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...


If 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!


Hmmm... 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.


Another question:

Does this integrate with action_text? Wasn’t that a big thing in rails 6/7, with like… trix?


In theory it does. The thing with ActionText is that it adds some HTML to the content, but in theory it should work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: