basecamp / basecamp/trix

Include image captions in `Trix.Document`'s `toString` method

Open
#1,326 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

I think it would be very helpful if (even optionally) we could have the document inline attachment captions when calling `toString` on a trix `Document`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating Trix.Document's toString method and inspect how inline attachments are represented. Determine how image captions should appear in the returned string, including whether the behavior is optional, then verify that documents containing image attachments include their captions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.