david
(David Taylor)
8
此提交引入了性能回归:https://github.com/discourse/discourse/commit/e25578d702791bac80b431acd450cc53b6c39a3c,因此与您在 OP @piffy 中提到的“大约两周”相符。
问题在于 execCommand("insertText", text) 基本上等同于手动输入 text。Chrome(我猜还有 Firefox)似乎会在每次“虚拟按键”时进行重排 
我们可以通过仅“输入”实际需要替换的文本来显著改善情况:
4 个赞