Brendon Muir
Brendon Muir
Thinking just slightly harder about this, I can see that settings `style`s would be the more idea way to go as you could imagine the kind of configuration that'd be...
I've been reminded of this thread again :) Is this something that would potentially be on the roadmap for Trix? We've had a customer wanting to align images (as in...
No worries @afcapel, from memory, when I looked at the codebase I got the feeling that there'd need to be quite a restructure to support classes and styles on block...
Just checking, did this PR fix the inability to set a class attribute on a block? https://github.com/basecamp/trix/pull/1138 From my reading it does. I'm looking forward to having a play with...
Thanks for the heads up. Does trix already do any sanitising on paste? I assume it must, so it shouldn't be too hard to hook into that?
I managed to get there in the end. Is this the most efficient way to write it? ```ruby def update respond_with online_newsletter, location: [:admin, online_newsletter] do |format| if online_newsletter.update(online_newsletter_params) format.turbo_stream...
Thanks @ClayShentrup, that looks like a great start. @carlosantoniodasilva, do you think there is appetite to make turbo responses a first class citizen in `responders`?
Not sure if this should have been closed. In my excursion into broadcast turbo streams I'm finding that I want to render `:no_content` for actions (like `create`) and then immediately...
Thanks @carlosantoniodasilva, let me know if you need to test anything in the wild :) For now in my `respond_with` I just have this: ``` if article.save format.turbo_stream { }...
Without `alias :to_turbo_stream :to_html` I found that `responders` wouldn't look for a `.turbo_stream.erb` file in the error scenario if I called something like: `format.turbo_stream { render 'errors', status: :unprocessable_entity }`