In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.
:warning: Deprecation notice
This library is deprecated and will no longer receive any updates or support. Please consider migrating to alternative solutions. See #610 for details.
http://vitalets.github.io/x-editable/demo.html
Please submit all Pull Requests to the develop branch: https://github.com/vitalets/x-editable/tree/develop
Please report all issues here: https://github.com/vitalets/x-editable/issues
http://vitalets.github.io/x-editable
Actively maintained
Use http://vitalets.github.io/x-editable main page.
bower install x-editableBootstrap 3 build:
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.min.js"></script>Bootstrap 2 build:
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap-editable/css/bootstrap-editable.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap-editable/js/bootstrap-editable.min.js"></script>jQuery UI build:
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jqueryui-editable/css/jqueryui-editable.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jqueryui-editable/js/jqueryui-editable.min.js"></script>jQuery only build:
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jquery-editable/css/jquery-editable.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jquery-editable/js/jquery-editable-poshytip.min.js"></script>Please provide jsFiddle when creating issues!
It's really saves much time. Use these as template:
A few steps how to start contributing.
Assuming you have Node.js already installed.
1.Fork X-editable on github and clone it to your local mashine:
git clone https://github.com/<your-github-name>/x-editable.git -b dev2.Install grunt-cli globally (if not yet):
npm i -g grunt-cli3.Install dependencies:
cd x-editable
npm i4.Make your changes:
vim editable-form.js5.Write some tests for your changes:
vim /test/unit/*.js6.Run tests in cli:
grunt testor directly in browser:
grunt serverand open http://127.0.0.1:8000/test
By default test run on bootstrap 3 popup version, but you can test any other build:
7.Commit and push back on github:
git add .
git commit -m'refactor editable form, fix #123'
git push origin8.Make pull request on github (to dev branch).
Thanks for your support!
To build x-editable locally please run:
grunt buildResult will appear in dist directory.
Copyright (c) 2012 Vitaliy Potapov
Licensed under the MIT license.
Uncaught TypeError: Cannot read property 'Constructor' of undefined
Is this an abandoned project?
doc site can't visit
I want use this on the Bootstrap 4 ,but,It seems impossible!!
Cannot read property 'defaults' of undefined - poshytips
Editable stop working after upgrade (popup autohides)
Error loading list with select
Multiable select issue
How to get 'editable' argument on shown event with bootstrap?
Impossible to add bootstrap modal as a confirmation of editing.