Support for copying images into editor from clipboard