Name: x-editable
Owner: Select2
Description: Select2 4.0.0 compatible version of x-editable
Created: 2015-06-07 20:08:02.0
Updated: 2017-12-11 19:23:41.0
Pushed: 2015-12-03 14:07:46.0
Homepage: http://vitalets.github.io/x-editable
Size: 11723
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.
Unfortunately, project is currently frozen, as I don't have enough time for it. You could try use it as is, but there may be some bugs with newer versions of dependend libraries (e.g. bootstrap). I would really appreciate if someone take care of it.. See #610. Vitalets.
http://vitalets.github.io/x-editable/demo.html
http://vitalets.github.io/x-editable
Use http://vitalets.github.io/x-editable main page.
r install x-editable
Bootstrap 3 build:
k href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>
ipt src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.min.js"></script>
Bootstrap 2 build:
k href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap-editable/css/bootstrap-editable.css" rel="stylesheet"/>
ipt src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap-editable/js/bootstrap-editable.min.js"></script>
jQuery UI build:
k href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jqueryui-editable/css/jqueryui-editable.css" rel="stylesheet"/>
ipt src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jqueryui-editable/js/jqueryui-editable.min.js"></script>
jQuery only build:
k href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jquery-editable/css/jquery-editable.css" rel="stylesheet"/>
ipt 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:
clone https://github.com/<your-github-name>/x-editable.git -b dev
2.Install grunt-cli globally (if not yet):
i -g grunt-cli
3.Install dependencies:
-editable
i
4.Make your changes:
editable-form.js
5.Write some tests for your changes:
/test/unit/*.js
6.Run tests in cli:
t test
or directly in browser:
t server
and 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:
add .
commit -m'refactor editable form, fix #123'
push origin
8.Make pull request on github (to dev
branch).
Thanks for your support!
To build x-editable locally please run:
t build
Result will appear in dist
directory.
Copyright (c) 2012 Vitaliy Potapov
Licensed under the MIT license.