Browse Source

Fix formatting extra line

master
Eduard Kuzmenko 2 years ago
parent
commit
68a1afe084
  1. 2
      src/lib/richTextProcessor/wrapRichText.ts

2
src/lib/richTextProcessor/wrapRichText.ts

@ -419,7 +419,7 @@ export default function wrapRichText(text: string, options: Partial<{
(lastElement || fragment).append(element); (lastElement || fragment).append(element);
} }
while(nextEntity && nextEntity.offset < (endOffset - 1)) { while(nextEntity && nextEntity.offset < endOffset) {
++nasty.i; ++nasty.i;
(element || fragment).append(wrapRichText(nasty.text, { (element || fragment).append(wrapRichText(nasty.text, {

Loading…
Cancel
Save