An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins. [contribute here or on https://github.com/WebCoder49/code-input-js] https://code-input-js.org
Find a file
2025-11-16 01:48:03 +00:00
.github/workflows Update minify action to revert wrongly-minified CSS so Prism line-numbers aligned correctly 2025-09-21 12:24:42 +01:00
docs Fix link to website in docs directory 2025-11-15 18:39:27 +00:00
esm Fix (hopefully) NPM build 2025-08-10 18:10:14 +01:00
plugins Auto Minify JS and CSS files 2025-11-15 16:02:34 +00:00
tests Auto Minify JS and CSS files 2025-11-15 16:02:34 +00:00
.gitignore Finish TypeScript bindings; Get ready for release 2.0 2023-06-29 18:50:48 +01:00
.npmignore Export minified files for backwards compatibility; Ignore irrelevant files from NPM build; move ESM generation to prepack 2025-07-19 12:08:00 +01:00
code-input.css Readd accidentally-removed CSS 2025-09-30 09:29:02 +01:00
code-input.d.ts Finish deciding, testing and documenting Ctrl/Cmd difference (Fixes #200) 2025-11-15 15:57:12 +00:00
code-input.js Merge pull request #195 from WebCoder49/synchronise-caret-color 2025-09-20 16:21:57 +00:00
code-input.min.css Auto Minify JS and CSS files 2025-09-30 08:29:46 +00:00
code-input.min.js Auto Minified JS and CSS files 2025-09-20 16:22:34 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2023-10-07 10:47:35 +01:00
CONTRIBUTING.md Add email contribution option to CONTRIBUTING.md (fixes #192) 2025-09-14 19:04:47 +01:00
LICENSE Document pluginData in d.ts 2025-08-10 13:04:46 +01:00
package.json Release v2.7.2 2025-11-15 17:26:19 +00:00
README.md Remove GitHubUserContent dependency, to be later replaced with image in repo itself 2025-11-16 01:48:03 +00:00
SECURITY.md Make security advice clearer, more consistent, and add it to the README 2025-11-15 16:14:06 +00:00

code-input

Click to SwitchWebsite and DemosGitHubYarnNPM

View License View Releases

An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.

Aiming to be more flexible, lightweight, modular, progressively enhanced and standards-based than the alternatives, we support HTML forms, the <textarea> JavaScript interface, more languages and more use cases.


Demos and usage instructions are available at https://code-input-js.org and the docs directory, to let you get started quickly!


Contributing

If you have any features you would like to add to code-input as plugins or core functionality, or have found any bugs, please open an issue or fork and submit a pull request! All contributions to this open-source project will be greatly appreciated. You can see more info in our CONTRIBUTING.md file.

If you find a sensitive security vulnerability in the code-input.js library, please email the maintainer Oliver Geer at [email protected], optionally using this encryption key. GitHub security advisories (different to the more general "issues") are also accepted.

Contributors
...have contributed pull requests so far.
(source: contrib.rocks)