2017 © Pedro Peláez
 

library x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

image

vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

  • Sunday, December 24, 2017
  • by tubssp
  • Repository
  • 322 Watchers
  • 6093 Stars
  • 7,239 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 1356 Forks
  • 570 Open issues
  • 4 Versions
  • 12 % Grown

The README.md

X-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery., (*1)

Live Demo

http://vitalets.github.io/x-editable/demo.html, (*2)

Pull Requests

Please submit all Pull Requests to the develop branch: https://github.com/vitalets/x-editable/tree/develop, (*3)

Issue Tracker

Please report all issues here: https://github.com/vitalets/x-editable/issues, (*4)

Documentation

http://vitalets.github.io/x-editable, (*5)

Project Status

Actively maintained, (*6)

How to get it

Manual download

Use http://vitalets.github.io/x-editable main page., (*7)

Bower

bower install x-editable

CDN

Bootstrap 3 build:, (*8)

<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:, (*9)

<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:, (*10)

<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:, (*11)

<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>

Reporting issues

Please provide jsFiddle when creating issues!
It's really saves much time. Use these as template:
1. jsFiddle Bootstrap 3
2. jsFiddle Bootstrap 2
3. jsFiddle jQuery-ui
4. jsFiddle jQuery
Your feedback is very appreciated!, (*12)

Contribution

A few steps how to start contributing.
Assuming you have Node.js already installed., (*13)

1.Fork X-editable on github and clone it to your local mashine:, (*14)

git clone https://github.com/<your-github-name>/x-editable.git -b dev

2.Install grunt-cli globally (if not yet):, (*15)

npm i -g grunt-cli

3.Install dependencies:, (*16)

cd x-editable
npm i

4.Make your changes:, (*17)

vim editable-form.js

5.Write some tests for your changes:, (*18)

vim /test/unit/*.js

6.Run tests in cli:, (*19)

grunt test

or directly in browser:, (*20)

grunt 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:, (*21)

  • bootstrap 3
    • popup: http://127.0.0.1:8000/test/?f=bootstrap3&c=popup
    • inline: http://127.0.0.1:8000/test/?f=bootstrap3&c=inline
  • bootstrap 2
    • popup: http://127.0.0.1:8000/test/?f=bootstrap2&c=popup
    • inline: http://127.0.0.1:8000/test/?f=bootstrap2&c=inline
  • jquery-ui
    • popup: http://127.0.0.1:8000/test/?f=jqueryui&c=popup
    • inline: http://127.0.0.1:8000/test/?f=jqueryui&c=inline
  • jquery + poshytip
    • popup: http://127.0.0.1:8000/test/?f=plain&c=popup
    • inline: http://127.0.0.1:8000/test/?f=plain&c=inline

7.Commit and push back on github:, (*22)

git add .
git commit -m'refactor editable form, fix #123'
git push origin

8.Make pull request on github (to dev branch)., (*23)

Thanks for your support!, (*24)

Local build

To build x-editable locally please run:, (*25)

grunt build

Result will appear in dist directory., (*26)

License

Copyright (c) 2012 Vitaliy Potapov
Licensed under the MIT license., (*27)

The Versions

24/12 2017

dev-develop

dev-develop http://github.com/vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

  Sources   Download

MIT

The Development Requires

  • grunt ~0.4.0

bootstrap table x-editable editable

28/09 2017

dev-docker

dev-docker http://github.com/vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

  Sources   Download

MIT

The Development Requires

  • grunt ~0.4.0

bootstrap table x-editable editable

10/01 2017

dev-master

9999999-dev http://github.com/vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

  Sources   Download

MIT

The Development Requires

  • grunt ~0.3.11
  • grunt-contrib 0.1.1

bootstrap table x-editable editable

18/12 2016

dev-dev

dev-dev http://github.com/vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

  Sources   Download

MIT

The Development Requires

  • grunt ~0.4.0

bootstrap table x-editable editable