How do you strip extra markup from tinymcerte

So if I just add a H1 and copy and past a paragraph from vs code I get all this markup from veiw source.

          <div style="color: #000000; background-color: #ffffff; font-family: 'Fira Code', Consolas, 'Courier New', monospace; font-weight: 400; font-size: 16px; line-height: 22px; white-space: pre;">
          <h1>About Me</h1>
          <div style="color: #000000; background-color: #ffffff; font-family: 'Fira Code', Consolas, 'Courier New', monospace; font-weight: 400; font-size: 16px; line-height: 22px; white-space: pre;">
          <div><span style="color: #800000;">&lt;</span><span style="color: #cd3131;">p</span><span style="color: #800000;">&gt;</span></div>
          <div><span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nihil</span></div>
          <div><span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; optio consequuntur cupiditate. Quasi ullam consequuntur aut</span></div>
          <div><span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reprehenderit doloribus saepe voluptas nesciunt minus, itaque soluta</span></div>
          <div><span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dolor, culpa quisquam, iusto quod!</span></div>
          <div><span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #800000;">&lt;/</span><span style="color: #cd3131;">p</span><span style="color: #800000;">&gt;</span></div>
          </div>
          </div> 

I just want no css and a plain paragraph like this.

<h1>h1 header</h1>
<p>paragraph</p>

There is a system setting tinymcerte.paste_as_text.
If you set it to “Yes”, it may work the way you want.

Thanks, that has removed the css.
But it still adds a load of html entities to present it in the same spacing.

            <p>&lt;p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lorem ipsum    dolor sit amet consectetur adipisicing elit. Eveniet nihil<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; optio consequuntur cupiditate. Quasi ullam consequuntur aut<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reprehenderit doloribus saepe voluptas nesciunt minus, itaque soluta<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dolor, culpa quisquam, iusto quod!<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/p&gt;</p>