Please check below fiddle
<div contenteditable="true">
<span class="edit-label">
Edit me
<div class="alias-edit-div">
</div>
</span>
<span>
Other text1
</span>
<span>
Other text2
</span>
- Mouse over "Edit me" Text and keep your mouse on "edit me" text
- Move cursor from left arrow key you will experience a Jittery effect, cursor is getting stuck when edit icon image is visible on "edit me" text
I want a solution so that user can frequently move cursor using left/right arrow key on the editable div element
contenteditableelement and its cursor is a native environment-depending feature, you can't fork it. Notice, that the cursor stops at every span when moving forward, it's not just the one with the image. - Teemu