New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve trix and action text support #2715
Comments
Editing an ActionText field with Trix field separates captions from images.
In the trix edit view, the caption is rendered as regular text (a couple |
I think a helpful first step would be to ensure models using I can also confirm that captions are broken as noted by @davekruse. |
Feature
Trix field have some limitations:
attachment_key
has_rich_text
) After uploading File in ActionText (Trix) it can not be found when rendering (missing attachable) #2538Let's explore this possibility:
attachment_key
is set that means we need a persistent record with thatattachment_key
association. So limitation points 1 and 2 still applying.attachment_key
is not set that means the user do not want to associate the attachments to a fixed key/association. We can generate a random key like here https://trix-editor.org/js/attachments.js and in this case the limitation points 1 and 2 will not apply, i.e there is no need for a record and neitherattachment_key
.The text was updated successfully, but these errors were encountered: