Replies: 1 comment
-
An attempt that seems to work is the following: div(class: "article-content trix-content", data_controller: "highlight") do
unsafe_raw(@article.content.to_trix_html)
end I don't think this will render any attachments though, I'll have to check that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would expect the following to work:
Instead, I get the following:
Missing partial action_text/rich_texts/_rich_text
I think the lookup should be
action_text/contents/_content
If I add the view that is missing or change to force a specific view, I get the following error:
This is super to fix because I can not completely eliminate ERB.
Beta Was this translation helpful? Give feedback.
All reactions