]> BookStack Code Mirror - bookstack/commit
Markdown editor image paste sets cursor correctly
authorDan Brown <redacted>
Sun, 18 Mar 2018 11:32:40 +0000 (11:32 +0000)
committerDan Brown <redacted>
Sun, 18 Mar 2018 11:33:30 +0000 (11:33 +0000)
commitd2eec4fbcef7f604e7afc01cd87286670c3f75c8
tree03e2fa0862d402dc4392f84091ed95f37ecc0175
parentb42b07179fb95b0ffdc370a0e8fa1136b97be364
Markdown editor image paste sets cursor correctly

Now sets cursor to alt text rather than end of placeholder image.
Fixed #751
app/Http/Controllers/ImageController.php
resources/assets/js/components/markdown-editor.js