Skip to content
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

Upload attachments and text questions #1202

Open
AnnEthan opened this issue Dec 6, 2024 · 0 comments
Open

Upload attachments and text questions #1202

AnnEthan opened this issue Dec 6, 2024 · 0 comments

Comments

@AnnEthan
Copy link

AnnEthan commented Dec 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant