从tinymce获取当前光标位置? [英] Get current cursor position from tinymce?

查看:2089
本文介绍了从tinymce获取当前光标位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从tinymce获取光标位置?没有使用tinymce中的书签并获取当前光标在tinymce中的位置。以前我使用了getCaretposition,但它也使用了段落标记,并且它给出了错误的光标位置。有人知道请建议我..

How to get cursor position from tinymce? with out using the bookmark in tinymce and get the current cursor position in tinymce. previously i used the getCaretposition but it takes the paragraph tag also and it's give wrong cursor position. Anybody knows please suggest me..

推荐答案

访问这里......



http://blog.squadedit.com/tinymce-and-cursor-position/ [ ^ ]
visit here...

http://blog.squadedit.com/tinymce-and-cursor-position/[^]


这篇关于从tinymce获取当前光标位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆