You can now use ${1}
as a placeholder for where you want the cursor to go in a custom code editor snippet. For example, a CSS snippet could have:
width: ${1};\nheight: ${1};
So like this:
![](https://i1.wp.com/blog.codepen.io/wp-content/uploads/2021/03/CleanShot-2021-03-25-at-06.34.26@2x.png?resize=482%2C266&ssl=1)
And you’ll get behavior like this!
The post Custom Editor Snippets with Multiple Cursors appeared first on CodePen Blog.