Open
Description
Feature
Trix field have some limitations:
- File attachment is possible only on persistent records Avo demo error: "You can't upload files into the Trix editor until you save the resource" #2713
- File attachment is possible only whit explicit
attachment_key
- File attachments are corrupt except images on action text. (
has_rich_text
) After uploading File in ActionText (Trix) it can not be found when rendering (missing attachable) #2538
Let's explore this possibility:
- When
attachment_key
is set that means we need a persistent record with thatattachment_key
association. So limitation points 1 and 2 still applying. - When
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
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog