Releases: WebCoder49/code-input
Releases · WebCoder49/code-input
Release list
1.1.1
Bug Fixes
- #12 Several minor bugs:
- Fix handling + transfer of
onchange/onselectionchangeevents - Fix padding bug in environments like bootstrap
- Reset font-size to normal
- Fix handling + transfer of
1.1.0
🆕 What's in this release?
- Plugin structure
autodetectlanguage with highlight.jsindent- indentation + synchronised on new lines
- Support for registering a template after it is used on the page
For more information, please see the README.
1.0.3
Small feature
- #7 - added a handler to enable auto-indent with the
enterkey (@RobertBlackhart)
Thanks for the pull request, and please send more if anybody has ideas!
1.0.2
Bug Fix
- #7 Added autodetection for highlight.js - just use highlight.js without a
langattribute!
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 usingtemplateattribute):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-limitattribute - Characters over limit in
mark.overflowelement - Overflow message shown in
mark.overflow-msgelement
- Maximum character count in
codeInput.rainbowText(rainbow_colors?, delimiter?)- Styles each section of text split by delimiter to color in rainbow_colors array