Is there a way to use CodeMirror's placeholder
extension?
#53
Labels
enhancement
New feature or request
placeholder
extension?
#53
Hello! First off, thank you so much for Ink. I've been wanting to plug a markdown editor into my personal Rails site for a while and was dreading it, but I couldn't believe how easy it was to put Ink into an import map and just plug it in.
I was wondering if there's an out-of-the-box way to use CodeMirror 6's placeholder extension to get a… well, placeholder into my editor 😄 It's easy enough to provide an initial
doc
but it would be even better to get true placeholder functionality so that it isn't considered content and is automatically overridden as soon as content is typed in.The text was updated successfully, but these errors were encountered: