bugfix: paste w/o editor opened caused null pointer exception