Skip to content

Upload attachments and text questions #1202

Open
@AnnEthan

Description

@AnnEthan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions