code: function pasteHandler(context, event)
          {
              var data = event.clipboardData.getData("Text");
              if (!data)
                  return;
              var colonIdx = data.indexOf(":");
              if (colonIdx < 0)
                  return;
              var name = data.substring(0, colonIdx).trim();
              var value = data.substring(colonIdx + 1).trim();
  
              event.preventDefault();
  
              if (!("originalName" in context)) {
                  context.originalName = this.nameElement.textContent;
                  context.originalValue = this.valueElement.textContent;
              }
              this.property.name = name;
              this.property.value = value;
              this.nameElement.textContent = name;
              this.valueElement.textContent = value;
              this.nameElement.normalize();
              this.valueElement.normalize();
  
              this.editingCommitted(event.target.textContent, context, "forward");
          }
docs: remove color swatch and the like 
  @param {!WebInspector.StylePropertyTreeElement.Context} context
  @param {!Event} event
  @this {WebInspector.StylePropertyTreeElement}