Hi Pode, thnx for the great plugin!
I needed a possibility to add a class to my divs, so i did the following changes to the plugin:
edittime.js, somewhere around line 116 / added a new cr property:
new cr.Property(ept_text,"HTML tag class", "my_class", "tag class for the div")
runtime.js , somwhere around line 64 / added a line of code:
this.elem.setAttribute("class",this.properties[4]);
Dunno if this is something that should be in the plugin, but i found it useful!
Maybe it's possible to expand the idea, and have some action like:
acts.SetAttribute = function (attribute, value)
{
this.elem.setAttribute(attribute,value);
};
But i didn't test the idea!
Cheers, and thanks for the hard work!