re: Rails 6 to include new Action Text framework VIEW POST

re: In the demo when he drags and drops an image into the editor, active storage gets going on the back end uploading and storing the image and creatin...

Sorry, but I don't think "You need a text editor written in CoffeeScript" qualifies as an opinion for a general purpose web framework. I'd rather see them spending time on adding missing features to ActiveStorage (i.e. proper CDN support, see this discussion on the issue).

I have to think the people focused on ActiveStorage features aren't being bottlenecked by work like this. I that the feature is questionable but I can't imagine it was a huge burden on the rest of Rails' productivity.

Maybe. Though ActiveStorage was extracted from Basecamp, the maintainer has not been very open to user feedback/requests so far and now they add something that ties in with ActiveStorage, which may mean they are even less likely to change it in ways that don't exactly match their use case. Anyway, we're moving away from ActiveStorage for our projects and use Shrine instead.

Hi Michael, would be very interested to hear if you've managed to get action text working with Shrine, especially to display images in-line in rich text. If so, would be interested to hear your thoughts / how you did it.

Alas I haven't yet had the opportunity to work with Rails 6, but you made me curious so I did a little digging and found this discussion with Janko (the creator of Shrine) where it sounds like ActionText needs ActiveStorage. ☹️

ok cool. appreciate the message.

I"ll have to rip out the good bits of action text in terms of its parsing capabilities and handle the storage myself. seems like a tall order!

Code of Conduct Report abuse