Southclaws / storyden

With a fresh new take on traditional bulletin board forum software, Storyden is a modern, secure and extensible platform for building communities.
https://www.storyden.org/
Mozilla Public License 2.0
93 stars 11 forks source link

Composer should accept and render any file type #221

Open Southclaws opened 1 month ago

Southclaws commented 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.