CKEditor 中的退格键和删除键是如何工作的?
CKEditor 中的退格键和删除键如何工作?如果我的可编辑区域中有一个 iframe,并且将光标放在它旁边,则按退格键/删除键会删除 iframe/从那里删除其 HTML 代码。
我无法得到的是这种行为的代码在哪里?当按下退格键时,范围会缩小到 iframe 并被删除。
请指出我在源代码中发生这种情况的正确方向。
How do the backspace and delete keys work in CKEditor? If I have an iframe in the editable area, and have my cursor next to it, hitting backspace/delete deletes the iframe/removes its HTML code from there.
What I was unable to get was where is the code for this behavior? Where on hitting backspace the range is shrunken to the iframe and it was removed.
Please point me in the right direction of where this happens in the source code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一些关于删除的事情
但我不喜欢这种行为
http://code.google.com/p/easyfckeditor/source/browse/trunk/src/main/java/哦/how/easy/fck/js/fckeditor/editor/_source/classes/fckenterkey.js?r=2
There is something about delete
But i don't about that behavior
http://code.google.com/p/easyfckeditor/source/browse/trunk/src/main/java/oh/how/easy/fck/js/fckeditor/editor/_source/classes/fckenterkey.js?r=2