title: InsertOrderedList doesn't make new list with marked text
body: <p>I created a contenteditable div and added features for formatting.</p>
  
  <p>One of the feature I added is creating a list from paragraph, I'll reproduce the steps below.</p>
  
  <p>====</p>
  
  <p>1) This is the paragraph I wanted part of it to be a list.
  <img src="https://i.stack.imgur.com/4oADI.png" alt="this is the paragraph I wanted to make part of it a list"></p>
  
  <p>2) So I marked the text to make it a list
  , I use plugin from <a href="https://github.com/kenshin54/popline/" rel="nofollow noreferrer">https://github.com/kenshin54/popline/</a> (modified it myself).</p>
  
  <p>And it uses 
  <code>document.execCommand("InsertOrderedList", false);</code>
  for creating list
  <img src="https://i.stack.imgur.com/eJKUn.png" alt="enter image description here"></p>
  
  <p>3) And then after I clicking the button, it made the whole paragraph to list. I just want the marked text to be (just for "Sed imperdiet....orci,")
  <img src="https://i.stack.imgur.com/4t6Ss.png" alt="enter image description here"></p>
  
  <p>The reason that I posting on Stackoverflow instead of Github repository issues (<a href="https://github.com/kenshin54/popline/" rel="nofollow noreferrer">https://github.com/kenshin54/popline/</a>) because I'm not sure that is an issue or not, I just want it to work like that.</p>
  
  <p>Anyone has some suggestions?</p>