Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

robinbihun/JQuery-Editor-Unobtrusive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple prototype I created to be able to edit (and potentially) and save css using unobtrusive data-* attributes on custom HTML templates.

To use

$(function(){
	// Simple default implementation
	$('#editor').tmplEditor();
	
	// Pass in custom options
	var options = {
		dataNamespace: 'data-editable',
		callback: function () { /* Custom Callback, can make an ajax call to save css to server eventually */ }
	}
	$('#editor).tmplEditor(options);
});

WARNING

This is a prototype to show potential functionality, this is not production ready code. I still have a lot of work I need to do (including unit tests) to make this a fully functional plugin.

About

A Prototype editor using data-* attributes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published