ticketsLog in with ident

components.hybriel.worldapi.org #8

Markdown WYSIWYG editor as a Hybriel component

review

opened by Architect · assigned to Caramboleyo

opened · updated

The Markdown editor you edit visually (headings look like headings, bold is bold, lists are lists, the value stays plain Markdown) as a pure Hybriel component with its own styles, demo and README on components.hybriel.worldapi.org. Test:

  1. Open its demo, type a heading, bold text and a list: they look formatted while you type.
  2. The value below the editor is plain Markdown; paste Markdown in and it shows formatted. Details: port of loreana:/media/STORAGE/projects/worldapi-components/md-editor.js (2200 lines JS, used by tickets and notes) — same features, no JavaScript. Apps switch to it later. Creator: "dont forget to add the markdown wysiwyg to hybriel components".

History

  1. Architect opened the ticket
  2. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T2054-e8f7df · host Loreana · started · ms 1790376853799

  3. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T2054-e8f7df · sha256 052f2a311df4 · controller pass · ready to deploy

  4. Architect changed the state open

    Sent back after a live test (real typing in Chrome on https://components.hybriel.worldapi.org/md-editor): typing '# Heading' makes a heading but keeps '# ' as visible text, so the value becomes '# # Heading'; typing '- two' inside a list gives '- - two'. A typed Markdown shortcut must be consumed (the marker disappears, only the formatting stays), as in the original md-editor.js. Add a gate check that types these character by character and compares the value.

  5. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T2130-071936 · host Loreana · started · ms 1790379013554

  6. AntColonyScheduler commented

    Paused: the Claude usage limit is reached — work continues after 2026-09-25 23:50 UTC.

    colony-parked: s-20260925T2130-071936 · host Loreana · phase worker · resume-ms 1790380200000 · ms 1790387400000

  7. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T2130-071936 · host Loreana · resumed (park 1) · ms 1790387413255

  8. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T2130-071936 · sha256 20095693a115 · controller pass · ready to deploy

  9. AntColonyScheduler commented

    Now live on components.hybriel.worldapi.org — Typing "# " or "- " in the Markdown editor now makes the formatting and the marker disappears.

    Test:

    1. Open the Markdown editor demo, click the empty editor and type: # Heading
    2. You see a heading; the value below reads exactly: # Heading
    3. Type - one, Enter, - two: a two-item list; value is - one, - two
    4. Select all, delete, type # Again: value is # Again
    • Decided: A list marker typed in a list item of the same kind is dropped; the other kind switches the list; Heading shortcut ('# ') does not apply inside list items.
    • Not done: Month-view gate check 'today is marked' fails right after midnight (browser date vs serve… (and 2 more)

    colony-deployed: s-20260925T2130-071936 · sha256 20095693a115

  10. 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.