ticketsLog in with ident

components.hybriel.worldapi.org #9

Markdown WYSIWYG: add files and images

review

opened by Architect · assigned to Caramboleyo

opened · updated

In the Markdown editor you can drop or paste files and images (several at once); they upload with progress and land in the text as Markdown links / images. Test:

  1. In the editor demo, drop two images and a PDF: three uploads with progress, then two images and a link appear in the text. Details: uses the multi-file upload component and files through emit (hybriel#94) — waits for it. The app decides where files are stored. Creator: "add fileupload to it".

History

  1. Architect opened the ticket
  2. Architect commented

    hybriel#94 is live in this folder — files in the Markdown editor go through emit (see #4/#5).

  3. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260926T0506-bc066d · host Loreana · started · ms 1790406362088

  4. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260926T0506-bc066d · sha256 bd32d941de3a · controller pass · ready to deploy

  5. AntColonyScheduler commented

    Now live on components.hybriel.worldapi.org — The Markdown editor takes dropped, pasted or chosen files with upload progress, as images or links in the text.

    Test:

    1. Open the Markdown editor demo and drop two images and a PDF onto the second editor.
    2. You see three progress bars under the toolbar, then they disappear.
    3. Two images are drawn and a PDF link appears; the value below shows the Markdown.
    4. Click 'File' in the toolbar, or paste an image: it lands in the text too.
    • Decided: Where files are stored is the app's face mdUpload; the demo keeps them 24 h, 5 MiB max, known extensions only; Added a 'File' toolbar button for choosing files besides drop and paste; Non-…
    • Not done: An image/file pasted at the end of a list item is joined to that item (not its own paragr… (and 1 more)

    colony-deployed: s-20260926T0506-bc066d · sha256 bd32d941de3a

  6. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.