@huseyinfiliz
I just tested the editor again. It inserts every line into a p tag, which is why the spacing and correct display of code does not work.
Example:
<p>Test text</p>
<p>Test text</p>
<p>.container {</p>
<p>margin-right:auto;</p>
<p>margin-left:auto;</p>
<p>padding-left:15px;</p>
<p>padding-right:15px</p>
<p>}</p>
Instead of
Test text
Test text
.container {
margin-right:auto;
margin-left:auto;
padding-left:15px;
padding-right:15px
}