Releases: WebCoder49/code-input
Releases · WebCoder49/code-input
1.2.0
🆕 What's in this release?
What's Changed
- Customisable IDE-style autocomplete popup in #15
- Add debounced update plugin in #16
- Prism line numbers support in #22
- Some more optimisations
Please see theplugins
file for more details.
🎉 Thank you to everybody who suggested changes. Please continue submitting issues/pull requests if there's anything you'd like on code-input.
Full Changelog: v1.1.1...v1.2.0
1.1.1
1.1.0
1.0.3
Small feature
- #7 - added a handler to enable auto-indent with the
enter
key (@RobertBlackhart)
Thanks for the pull request, and please send more if anybody has ideas!
1.0.2
1.0.1
1.0.0
🆕 What's in this release?
- Support for indentation, templates for specifying highlight functions, and placeholder attributes for
<code-input>
custom element - Built-in templates (register using
codeInput.registerTemplate(template_name, template)
; link to element usingtemplate
attribute):codeInput.template.prism(prism)
- Prism.js support built-in
codeInput.template.hljs(hljs)
- highlight.js support built-in
codeInput.template.characterLimit()
- Maximum character count in
data-character-limit
attribute - Characters over limit in
mark.overflow
element - Overflow message shown in
mark.overflow-msg
element
- Maximum character count in
codeInput.rainbowText(rainbow_colors?, delimiter?)
- Styles each section of text split by delimiter to color in rainbow_colors array