- Update now reads the live editor text from NSTextStorage instead of relying on any stale editor state, sends it as markdown plus compatibility aliases, and refuses to overwrite the editor with stale Markdown if the server response doesn’t echo the new content.

I also updated [api.php](/Users/tyemeclifford/Documents/GH/blog/api.php) 
so content.save accepts markdown, content, or body for post/page 
content.
This commit is contained in:
Ty Clifford
2026-07-05 17:15:33 -04:00
parent ddaefbcc27
commit c391feb450
6 changed files with 497 additions and 80 deletions
+5 -2
View File
@@ -21,11 +21,14 @@ https://example.com/blog
http://127.0.0.1:8097
```
The client automatically calls `api.php` under that URL. Enter the username/password stored in the site's `.env`, or use the bearer token from `TCMS_API_TOKEN`.
The client automatically calls `api.php` under that URL. Enter the username/password stored in the site's `.env`.
## Features
- Create, edit, draft, publish, and delete posts and pages.
- Create, edit, update, draft, publish, and delete posts and pages.
- Page through large post/page lists with configurable per-page counts.
- Toggle spell check and auto-correct in the Markdown editor.
- Use standard Mac shortcuts, including Command-S for Update, Command-Comma for Settings, and Command-Q for Quit.
- Upload media to `bl-content/uploads`.
- List and moderate comments.
- Local autosave to Application Support.