Open Southclaws opened 1 month ago
Attaching arbitrary files to a post/page is logical. But a little more work is required on TipTap to correctly discern between an image and a document.
This can probably be achieved with SDRs (Storyden references) https://www.storyden.org/docs/posts-threads-replies#a-references-mentions-and-other-links
But the awkward part is swapping out an <a> tag for an <img> at render time based on the SDR type.
<a>
<img>
Attaching arbitrary files to a post/page is logical. But a little more work is required on TipTap to correctly discern between an image and a document.
This can probably be achieved with SDRs (Storyden references) https://www.storyden.org/docs/posts-threads-replies#a-references-mentions-and-other-links
But the awkward part is swapping out an
<a>
tag for an<img>
at render time based on the SDR type.