向各位技术大佬问号,遇到一个大难提,希望能请教下。
就是我现在负责的“”的这个前端项目,但是不知道为什么每次全选输入内容,网页就会直接崩掉,看不到报错,没办法排查,哭死!!!
就想在这里请教下有没有技术老大知道是什么情况的,求指教~
就是直接创建画布,插入一个文本框,在然后部分文字加粗,然后全选文字,一改就崩了。
输入英文没事,只是中文会这样,就很奇怪
排查了很多次代码,尝试改了可能会影响的地方,都是一直不行
<div class="editable-element-text" data-v-747b956e="" style="top: 522px; left: 480px; width: 960px;"><div class="rotate-wrapper" data-v-747b956e="" style="transform: rotate(0deg);"><!----><div class="element-content" data-v-747b956e="" style="line-height: 1.5; letter-spacing: 0px; text-indent: 0px; color: rgb(51, 51, 51); font-family: "Noto Sans S Chinese Regular"; font-size: 64px; writing-mode: initial;"><div class="prosemirror-editor show-text ProseMirror-static" data-v-5cb080ee="" data-v-747b956e="" style="-webkit-text-fill-color: unset;"><div contenteditable="false" translate="no" class="ProseMirror"><p style=""><span style="color: rgb(51, 51, 51);"><span style="font-size: 64px">双击编辑文本内容</span></span></p></div></div></div></div></div>