stevengharris / MarkupEditor

WYSIWYG editing for SwiftUI and UIKit apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Various operations inside of indents are not working properly

stevengharris opened this issue · comments

  1. Enter at end of block with a formatted element doesn't work properly. For example, starting with:
<blockquote>
    <p><b>​Hello</b></p>
</blockquote>

and hitting Enter after "Hello" results in:

<blockquote>
    <p><b>Hello</b></p>
</blockquote>

<blockquote>
    <p></p><b><br></b>
</blockquote>

The new paragraph should be:

<blockquote>
    <p><b><br></b></p>
</blockquote>
  1. The multi-style operation does not work properly when the paragraphs are indented. Only the first element is restyled.