I haven't tried this out yet, but I think this might have weird interaction with text mixed with tables because `children` doesn't include text nodes (`contents` or something like that does). So if I had:
```
<ol>
  <li>
     FOO|
    <table>...snip</table>
  </li>
</ol>
```

Where `|` is my cursor and I inserted a table, this would put the table after the other table. I think as a user, I would expect it to go directly before the other table, wouldn't you?