github dannysmith/astro-editor v1.2.1-test.1
Test build 1.2.1-test.1 (main)

pre-release2 hours ago

A test build of main at eec7164, for testing before 1.2.1. It's built and signed like a real release, but isn't one.

Installing it replaces your copy of Astro Editor and uses your normal settings. When the next stable release comes out, it'll offer to update you to it.

New

  • Tag fields suggest tags the collection already uses, most-used first.
  • The Copyedit panel shows the word count and reading time.
  • In fenced code blocks, the code is highlighted in the block your cursor is in.
  • In .mdx files, Markdown inside components is read as Markdown, and JSX attributes are highlighted.
  • Fields named emoji get a button that opens the macOS emoji picker.
  • Frontmatter fields show their schema limits (length, ranges and so on) below them, with out-of-range values in amber. Empty required fields are marked.
  • Collections with custom, inline or third-party loaders now find their files through Astro's data store. Project Settings shows which loader each collection uses.

Improved

  • The component builder matches the frontmatter panel, and it shows Starlight's icons in its icon lists.
  • The left sidebar fits narrow widths.
  • The frontmatter panel no longer flickers when you switch files.

Fixed

  • Several ways to lose work when syncing with disk:
    • post.md and post.mdx overwriting each other
    • an outside edit made just after a save being overwritten
    • editing a nested value deleting comments in that object
  • Undo and the cursor position are kept when you reopen the file you already have open.

Don't miss a new astro-editor release

NewReleases is sending notifications on new releases.