Skip to content

2.7.0

Compare
Choose a tag to compare
@WebCoder49 WebCoder49 released this 21 Sep 12:24
· 10 commits to main since this release

🆕 What's in this release?

  • Placeholder and caret colours are no longer hardcoded, but by default adapt to the highlighted theme, making them clearer and especially in light themes reducing the chance of inaccessible contrast (#183):
Screenshot of the above
  • Now you can use the color and caret-color CSS properties on code-input elements directly, which will also override the behaviour mentioned above (#182).
  • The minification code has been upgraded, fixing a bug it caused with line-number positioning.
  • The autocomplete demo code in the docs has been debugged.
  • Documentation has been made more thorough.

A (belated - sorry for forgetting earlier!) thanks to @ntward, who inspired and gave guidance for the custom color and caret-color support. 💡 If you can, please help advise the future of this library by emailing code-input-js+v3@webcoder49.dev, or commenting on the Major Release v3.0.0 issue! 🎉 As always, general suggestions, bug reports and feature requests are very welcome, to code-input-js@webcoder49.dev or on GitHub.