Editor : add the `paste` method and use it to write a test case to fix #35