Say you have a div like:
<div contenteditable="true" droppable="true" id="editor"> <span draggable="true" contenteditable="false" id="tag-0">0</span> This <span draggable="true" contenteditable="false" id="tag-1">1</span> will be the editor. </div>
The two spans "tag-0" and "tag-1" represent tags that must be interleaved between div text. The user should be able to drag them, but not delete them . Is there a good way to do this?
source share