title: Is there a way to update a Slate change after the current change completes?
body: <p>Basically I want to make inlines that can be updated from the end if the cursor/selection is there. However it seems to be overriding changes like deleting from the end an inline.</p>
  
  <p>I was attempting to do something like this (with guidance from slate-sticky-inline)</p>
  
  <p><a href="https://jsfiddle.net/fj9dvhom/963/" rel="nofollow noreferrer">JSFiddle</a> or what I think is the relevant code below</p>
  
  <pre><code>const onChange = change =&gt; {
      //Not in a inline but at the start of some node
      if (!change.value.focusInline &amp;&amp; change.value.selection.focusOffset === 0) {
        //Find the index of the node
        const textNodeIndex = change.value.focusBlock.nodes.findIndex(
          node =&gt; node.key === change.value.focusText.key
        );
        //check the node before it to see if its an inline
        const upcomingNode = change.value.focusBlock.nodes.get(textNodeIndex - 1);
        if (Inline.isInline(upcomingNode)) {
          //put me at the end of the inline
          return change.extendToEndOf(upcomingNode);
        }
      }
    };
  </code></pre>
  
  <p>I was hoping someone could help me understand whats going wrong here and possibly explain what I am misunderstanding. I also created a <a href="https://jsfiddle.net/fj9dvhom/963/" rel="nofollow noreferrer">barebones jsfiddle with my plugin</a>. You'll notice if you attempt to erase the "p" at the end of "@help" it will prevent you from doing so.</p>