简体   繁体   English

YUI:RTE:聚焦和模糊事件

[英]YUI: RTE: focus and blur events

Is it possible to get the equivalent of the focus and blur events that we have on other form controls for the RTE? 是否有可能获得与我们在RTE的其他窗体控件上具有的聚焦和模糊事件等效的效果? That is, I would like to know when a given RTE gets the focus and when it loses it. 也就是说,我想知道给定的RTE何时获得焦点,何时失去焦点。

I see that the RTE supports lots of events ( http://developer.yahoo.com/yui/editor/#events ), but I don't see anything about focus/blur. 我看到RTE支持许多事件( http://developer.yahoo.com/yui/editor/#events ),但是我对聚焦/模糊一无所知。 Am I missing something? 我想念什么吗?

如果有人找到了这个问题并在寻找答案,Dav Glass会在YUI社区论坛http://tech.groups.yahoo.com/group/ydn-javascript/message/40867上发布答案。

Dav Glass answered on the YUI mailing list that at this point this is not possible. Dav Glass在YUI邮件列表中回答说,这是不可能的。 However, there are ways to emulate this, even if they are not perfect. 但是,即使它们不是完美的,也有一些方法可以模仿。 More in this thread of the YUI list . YUI列表的更多主题中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM