DEV Community

Ben Halpern Subscriber for The DEV Team

Posted on

30 10

Changelog: Upgraded Editor

Hey folks, just wanted to let you know that we just shipped some upgrades to the editor for creating DEV posts.

Most of the functionality is the same, but things have moved around a bit.

Importantly, both versions of the editor ("v1", where you define meta info in "frontmatter" and "v2" which is more of a GUI) are now part of the same codebase, and both now include localStorage saving of drafts in progress (just in case your browser crashes etc.)

"v2" is also now the default for new users. We'll forever use markdown for the body of posts, but the frontmatter yaml for defining the rest of the info is not what everyone wants.

The editors are written in Preact, and now that we have unified the codebase with a good library for state management, we should be able to ship fixes and improvements at a faster pace.

Please feel free to offer feedback here. If you hate anything we've done, don't worry: We'll be finally shipping the create/update API for posts so you can write your own markdown editor! πŸ˜‹

Let us know if you run into any new bugs.

Happy coding!

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (10)

Collapse
 
jackharner profile image
Jack Harner πŸš€ β€’

Frontmatter for the meta was definitely sorta confusing. ("How do you spell canonical again?")

We'll be finally shipping the create/update API for posts so you can write your own markdown editor!

I smell a VS Code plugin coming πŸ˜‚

Collapse
 
ben profile image
Ben Halpern β€’

I smell a VS Code plugin coming

Collapse
 
adyngom profile image
Ady Ngom β€’

Great is autosave part of the upcoming features?

Collapse
 
rhymes profile image
rhymes β€’
Collapse
 
adyngom profile image
Ady Ngom β€’

Oh great thanks for pointing it out. Cheers

Collapse
 
sneezry profile image
Zhe Li β€’

Cool! One question, is there a way to delete draft post?

Collapse
 
jess profile image
Jess Lee β€’

Hey! There should be a delete button for each draft and post on your dashboard.

Collapse
 
andrewbrown profile image
Andrew Brown πŸ‡¨πŸ‡¦ β€’

Hurray more Preact!

Collapse
 
equiman profile image
Camilo Martinez β€’

I think I found and issue, when edit and delete canonical url

github.com/thepracticaldev/dev.to/...

Oh crap

Collapse
 
rohovdmytro profile image
Rohov Dmytro β€’

We'll be finally shipping the create/update API for posts so you can write your own markdown editor!

Niiiice!

Can I see somewhere a sneak peak to prepare my toolchain? :)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay