reuse clipboard fns in editor
Merge pull request #1406 from cldwalker/update-clipboard-in-editor

reuse clipboard fns in editor