Add hex colours to tag manager

Fixes #597
This commit is contained in:
Jermolene
2014-05-05 18:42:25 +01:00
parent e58e68fa7c
commit ffb6c8ab81
3 changed files with 8 additions and 3 deletions

View File

@@ -45,6 +45,9 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
if(editInfo.value === "" && this.editPlaceholder) {
domNode.setAttribute("placeholder",this.editPlaceholder);
}
if(this.editSize) {
domNode.setAttribute("size",this.editSize);
}
// Assign classes
if(this.editClass) {
domNode.className = this.editClass;
@@ -133,6 +136,7 @@ EditTextWidget.prototype.execute = function() {
this.editDefault = this.getAttribute("default");
this.editClass = this.getAttribute("class");
this.editPlaceholder = this.getAttribute("placeholder");
this.editSize = this.getAttribute("size");
this.editFocusPopup = this.getAttribute("focusPopup");
// Get the editor element tag and type
var tag,type;