support for copying images into editor from clipboard