title: TinyMCE add list automatically with space key
body: <p>I have a div box which will get the tinymce extension like this:</p>
  <pre><code>&lt;div id=&quot;notice&quot;&gt;&lt;/div&gt;
  
  &lt;script&gt;
  tinymce.init({
    selector: '#notice',
    inline: true,
    menubar: false,
    skin: &quot;oxide-dark&quot;,
    toolbar: 'bold italic bullist',
    plugins: ['lists','autoresize','textpattern'],
    toolbar_location: 'bottom',
    deprecation_warnings: false
  });
  &lt;/script&gt;
  </code></pre>
  <p>I would like to realize that a list will be automatically generate if I write something like this:</p>
  <pre><code>- my first list item
  </code></pre>
  <p>this works, but only If I press the enter key at the end.
  Problem: The enter key create directly a new list item, which I have to delete manually if I would like to have only one item (more steps as needed)</p>
  <p>Result looks like this:</p>
  <p><a href="https://i.stack.imgur.com/OClSZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OClSZ.png" alt="enter image description here" /></a></p>
  <p>Any idea, how can I solve it without pressing the enter key?</p>