Skip to content

jQuery plugin for in-place editing using contentEditable property

Notifications You must be signed in to change notification settings

PaulUithol/editableText

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

jQuery.editableText

Text editing using the contentEditable html5 attribute.

  • Start editing by clicking the 'edit' button or double-clicking the element (if the editOnDblClick option is enabled).
  • Save by clicking the 'save' button, hitting enter (when not using the newlinesEnabled option; in that case, enter adds a linebreak), or focusing somewhere else on the page (when using the saveOnBlur option).
  • Cancel by clicking the 'cancel' button (when shown; use the showCancel option to hide the cancel button), or hitting the escape key.

On save, a change event is fired, with the new value of the edited element as it's first argument.

About

jQuery plugin for in-place editing using contentEditable property

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.3%
  • HTML 14.4%
  • CSS 2.3%