Any way to stop automatically wrap <p> tags in medium editor JS?

259 Views Asked by At

Check the below lines that medium editor works

<div class="editor">
  <p>this is the <i>first</i> line</p>
  <p>this is a <b>second</b> line</p>
</div>

I want like this

<div class="editor">
this is the <i>first</i> line<br/>
this is a <b>second</b> line<br/>
</div>
0

There are 0 best solutions below