Skip to content

Small jQuery plugin that put edit, save and cancel button around editor area, this can be use for in-line editor

License

Notifications You must be signed in to change notification settings

dardsmind/jQuery-editor-action-buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery-editor-action-buttons

Small jQuery plugin that put edit, save and cancel button on the editor area

screen capture

How to use

HTML: place your div any part of your page, preferrably on upper right corner of the editing area

<div class="editorButtons"></div>

JS: initialize the place holder with the buttons and assign actions to each buttons

$(".editorButtons").editorActionButtons({
	onSave: function(){
		// your save function here
	},
	onEdit: function(){
		// your edit initialization code here
	},
	onCancel: function(){
		// restore code here
	}
});

Note

The button uses bootstrap class and font icon class, you need to include these files on your page as well.

About

Small jQuery plugin that put edit, save and cancel button around editor area, this can be use for in-line editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published