Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/refine-portable-text-editor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@emdash-cms/admin": patch
---

Improves portable text editing with a centered writing column, a responsive toolbar, clearer empty-state guidance, direct block insertion controls, and floating controls that avoid clipping and toolbar overlap.
2 changes: 1 addition & 1 deletion packages/admin/src/components/ContentEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ function FieldRenderer({
<PortableTextEditor
value={Array.isArray(value) ? value : []}
onChange={handleChange}
placeholder={t`Enter ${label.toLowerCase()}...`}
placeholder={t`Start writing, or type '/' for commands`}
aria-labelledby={labelId}
pluginBlocks={pluginBlocks}
onEditorReady={onEditorReady}
Expand Down
Loading
Loading