Added copy/paste support in editor