basecamp / basecamp/trix

Upload attachments and text questions

Open
#1,202 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files or tests are named. Start with the Trix.Attachment example and the Vue 3 integration described in the issue, then determine how uploaded URLs and background text/files reach the editor. Done is undefined until the expected attachment rendering and text/document ordering are specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.