trix
trix copied to clipboard
Upload attachments and text questions
After uploading the file successfully, refresh the page, how to render the file returned from the background to trix, using vue3
const attachment = new Trix.Attachment({ url: 'https://elcuk-uploads.elcuk-erp.com/outxe/ProcessInstance/OTDT|202412|15_OTDT|202412|15_BpraA1tpgD.png' }); trixRemark.value.editor.insertAttachment(attachment);
And how does the background need to pass text and files to the foreground, so that the order of text and documents is consistent with the user input