Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
X

x-editable

> 编程语言
Open source

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

6.5K stars0 likes2 views
WebsiteGitHub

About

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

X-editable

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.

Live Demo

http://vitalets.github.io/x-editable/demo.html

Pull Requests

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

Issue Tracker

Please report all issues here: https://github.com/vitalets/x-editable/issues

Documentation

http://vitalets.github.io/x-editable

Project Status

Actively maintained

How to get it

Manual download

Use http://vitalets.github.io/x-editable main page.

Bower

bower install x-editable

CDN

Bootstrap 3 build:

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

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

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

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

Contribution

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:

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

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

bash
npm i -g grunt-cli

3.Install dependencies:

bash
cd x-editable
npm i

4.Make your changes:

vim editable-form.js

5.Write some tests for your changes:

vim /test/unit/*.js

6.Run tests in cli:

grunt test

or directly in browser:

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:

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

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

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

Thanks for your support!

Local build

To build x-editable locally please run:

grunt build

Result will appear in dist directory.

License

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

Issues· 616 open

View all issuesOpen on GitHub
  • #1076

    Uncaught TypeError: Cannot read property 'Constructor' of undefined

    Updated Mar 9, 2026
  • #610

    Is this an abandoned project?

    Updated Mar 9, 2026
  • #1112

    doc site can't visit

    Updated Mar 9, 2026
  • #1136

    I want use this on the Bootstrap 4 ,but,It seems impossible!!

    Updated Mar 9, 2026
  • #496

    Cannot read property 'defaults' of undefined - poshytips

    Updated Feb 27, 2025
  • #1131

    Editable stop working after upgrade (popup autohides)

    Updated Feb 15, 2025
  • #1169

    Error loading list with select

    Updated Oct 18, 2024
  • #1191

    Multiable select issue

    Updated Sep 23, 2024
  • #564

    How to get 'editable' argument on shown event with bootstrap?

    Updated Aug 20, 2024
  • #856

    Impossible to add bootstrap modal as a confirmation of editing.

    questioninvestigateUpdated Aug 20, 2024

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言