“a” & “i” are defined as marks in my editor.
<a href="">some text</a> --> works well
<a href=""><i class="..."></i>some text</a> --> removes <i> tag
<a href=""><i class="...">xx</i>some text</a> --> does not remove <i> tag
Prosemirror deletes empty marks which makes sense to me. How can I define in schema to allow empty marks inside “a”?