From cef267d7b5285d8a83bef1b31e3e59b0901b6049 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 16 Jul 2026 12:49:45 -0400 Subject: [PATCH] feat: real timestamp + working Export + polished More menu in page editor - 'Edited X ago' now shows real relative time from page.updated_at - timeAgo computed getter in editorState() calculates relative time - Export now generates a Markdown file from blocks and triggers download - blocksToMarkdown() helper converts blocks to proper Markdown syntax (headings, lists, todos, quotes, dividers, code blocks) - More menu items: Duplicate (was working), Export (now works), Move to Trash (was working), Copy link (via shortcut) --- app/templates/page_editor.html | 44 ++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/app/templates/page_editor.html b/app/templates/page_editor.html index 4912c08..f3c12bc 100644 --- a/app/templates/page_editor.html +++ b/app/templates/page_editor.html @@ -8,7 +8,7 @@ page_title %}{{ page.title }}{% endblock %} {% block topbar %}
- Edited just now + Edited