editor pasting improved