JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrap">
<ul>
<li><p> </p>Get order of list items in a jQuery Sortable list after resort ... The trick is I would like to capture the order of the items immediately ... And I'm aware that it's also possible to assign a call-back function that fires when sorting st</li>
</ul>
</div>
CSS
#wrap
{
position: absolute;
top: 100px;
left: 100px;
}
li
{
list-style-type: none;
display: inline-block;
}
li p
{
display: inline-block;
}
li p::before {
content: "—";
position:absolute;
margin-left: -1em;
}