Uncaught TypeError:无法读取未定义的属性'clientTop'-CKEDITOR 4.112

问题描述 投票:0回答:1

A。提供详细的复制步骤(如果有)1.写一些文字2.选择全部并设置居中对齐/右对齐/对齐

B。预期结果在文本末尾返回焦点

C。实际结果将光标置于文本的结尾或其他位置时,光标再次返回第一行,无法设置焦点。除了我们将第一行设置为向左对齐之外,编辑器将再次正常显示

Uncaught TypeError: Cannot read property 'clientTop' of undefined at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.getDocumentPosition (ckeditor.js:114) at z (ckeditor.js:1018) at y (ckeditor.js:1020) at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.mouseNear (ckeditor.js:1007) at ckeditor.js:1025

在这里[ckeditor问题https://github.com/ckeditor/ckeditor4/issues/3635

javascript ckeditor ckeditor4.x
1个回答
0
投票

此问题,因为我设置了更改某些内容后从ckeditor获取新值的时间间隔,这是错误的方式。 ckeditor有自己的onChange处理程序

© www.soinside.com 2019 - 2024. All rights reserved.