orthes/medium-editor-insert-plugin — pull request #122 by j0k3r (2014-11-21 14:06:17+00:00)
Title: Remove unecessary prepend

I was wondering why do you need to add one space inside the `

` while disabling the selection ?

Because, first I fixed multiple spaces addition (when use click a lot inside the embed placeholder) using this snippet:

```javascript
// do not add multiple spaces, one is enough
if (0 !== $place.html().indexOf(' ')) {
$place.prepend(' ');
}
```

And then I removed the `prepend` and everything still works... :)