Super basic edit-in-place jquery plugin for Bootstrap. Needed this for another project and thought it'd be cool to share it.
- Bootstrap 3.3
- jQuery
Grab and import dist/eip.min.js
to your project.
Then change
<p>I want to become editable!</p>
to :
<p>
<span class="whateveryouwant">I am now editable :D</span>
</p>
Then add
$('.whateveryouwant').editable();
onChange
: Callbackfunction()
when the input's value has been changed.
- Refactor code, pretty sure we can improve a lot.
- Add support for others css frameworks or native.
- Find limitations and fix them.