Skip to content

Releases: WebCoder49/code-input

1.3.1

27 Apr 16:44

Choose a tag to compare

Bug Fix

What's Changed

  • Remove selections after ENTER, so caret doesn't select new text. #35

Full Changelog: v1.3.0...v1.3.1

1.3.0

12 Apr 08:09

Choose a tag to compare

Bug Fixes / Optimisations

What's Changed

  • Fix line-height bug & remove margin from code-input in #33 (issue #27)
  • Change event transfer to work with add/removeEventListener in #34 (issue #28)

Full Changelog: v1.2.4...v1.3.0
🎉 Thank you to everyone who found bugs and contributed to this release. Please submit an issue or pull request if you find a bug or want a new feature / plugin.

1.2.4

05 Apr 07:48

Choose a tag to compare

Bug fixes for indent plugin

What's Changed

Full Changelog: v1.2.3...v1.2.4

Thank you to everyone who contributed code and issues for this. If you find any bugs or want any new features, please open an issue or pull request.

1.2.3

04 Apr 16:53

Choose a tag to compare

Bug Fixes / Optimisations

All credits go to @mitchcapper for this; thank you!
I will address the recent issues ASAP.

What's Changed

  • Use addEventListener with proper delegates for any events rather than inline javascript/setAttribute("on*") by @mitchcapper in #29
  • Don't do console.log on every update by @mitchcapper in #30

New Contributors

Full Changelog: v1.2.2...v1.2.3

1.2.2

15 Mar 08:46

Choose a tag to compare

Bug Fixes

  • Sync name attribute to textarea (allowing use in HTML forms) in #25

Full Changelog: v1.2.1...v1.2.2

1.2.1

11 Mar 09:00

Choose a tag to compare

Please see 1.2.0 for most details.

  • Bug Fix: enable code-input update to run once at start, as some optimisation code was blocking it.

1.2.0

11 Mar 08:52
b13a8a3

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

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

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

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!