Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
codemirror-inlet
Advanced tools
Inlet is a "plugin" for CodeMirror2 which pops up a slider whenever you click on a number or a color picker when you click on a Hex string (i.e. "#ff0000"). You can also click on hsl strings (i.e. "hsl(100,100%,90%") to get the color picker.
See an example at http://enjalot.github.com/Inlet
This project is inspired by Bret Victor's talk "Inventing on Principle"
The the slider code is originally adapted from Gabriel Florit's Water project the predecesor for Livecoding.io
The Color Picker Thistle is used to provide the color picker, and Color.Space.js translates between color spaces.
This project is used in enjalot's Tributary
All you need is the inlet.js file from src/inlet.js
but you do need to make sure you have all of the libs this depends on (found in the example/lib folder):
ColorPicker
CodeMirror2 ( >= 3.1 )
Check out index.html to see how to put things together
The key bit of javascript code to kick things off is:
var editor = CodeMirror('#editor', ...)
Inlet(editor)
Install
npm Install
make
Test cases are availible in test.html
Enjoy!
FAQs
Bring your CodeMirror to life.
The npm package codemirror-inlet receives a total of 24 weekly downloads. As such, codemirror-inlet popularity was classified as not popular.
We found that codemirror-inlet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.