JSFiddle - React, Tailwind, and code Playground

HTML

Copy the images as if text:<br />
<br />
X<img alt="i" src="http://bit.ly/1LGtQTQ" /><img alt="i" src="http://bit.ly/1LGtQTQ" />Y<br />
<br />
Try pasting it here, is should be 'XiiY':<br />
<input />

CSS

body {
    font-size: 14px;
}

img {
    display: inline-block;
    vertical-align: baseline;
    cursor: text;
    height: 1em;
}