Skip to content

Releases: WebCoder49/code-input

1.2.0

11 Mar 08:52
b13a8a3
Compare
Choose a tag to compare

🆕 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 the plugins 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

15 Jul 07:05
Compare
Choose a tag to compare

Bug Fixes

  • #12 Several minor bugs:
    • Fix handling + transfer of onchange/onselectionchange events
    • Fix padding bug in environments like bootstrap
    • Reset font-size to normal

1.1.0

04 Jul 18:35
3bec1d4
Compare
Choose a tag to compare

🆕 What's in this release?

  • Plugin structure
    • autodetect language with highlight.js
    • indent - 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

26 Jun 18:04
Compare
Choose a tag to compare

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

26 Jun 17:38
Compare
Choose a tag to compare

Bug Fix

  • #7 Added autodetection for highlight.js - just use highlight.js without a lang attribute!

1.0.1

26 Jun 08:04
Compare
Choose a tag to compare

Bug Fixes

  • #1
  • #2
  • #3
    Thanks to everybody who pointed out bugs for this release!

1.0.0

19 Sep 15:26
1135ab8
Compare
Choose a tag to compare

🆕 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 using template 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
    • codeInput.rainbowText(rainbow_colors?, delimiter?)
      • Styles each section of text split by delimiter to color in rainbow_colors array