Commit b47b764d authored by GoshaZotov's avatar GoshaZotov

delete comment if paste only text

parent 93bb3794
......@@ -2451,6 +2451,14 @@ PasteProcessor.prototype =
//преобразуем в текст
this._convertParaMathToText(elem);
break;
}
case para_Comment:
{
//TODO в дальнейшем лучше удалять коммент а не заменять его
paragraphContent.splice(i, 1, new ParaRun());
i--;
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment