YUI 富文本编辑器:文本着色工具不起作用
我正在使用 YUI RTE(版本:2.8.0r4)。只有文本着色工具不起作用。当我突出显示文本时,它会启用,但单击图标时不会打开颜色选择器。请看一下快照, 替代文本 http://www.freeimagehosting.net/uploads/599cd59d1b.png
var myEditor = new YAHOO.widget.Editor('body', {
height: '300px',
width: '99%',
handleSubmit: true,
dompath: true, //Turns on the bar at the bottom
animate: true //Animates the opening, closing and moving of Editor windows
});
myEditor.render();
我缺少任何 js/css 参考吗?请帮忙。
I'm using YUI RTE (version: 2.8.0r4). Only the text coloring tools are not working. It is enabled when I highlight the the text, but when clicking on the icon is not opening the color picker. Pls look at the snapshot,
alt text http://www.freeimagehosting.net/uploads/599cd59d1b.png
var myEditor = new YAHOO.widget.Editor('body', {
height: '300px',
width: '99%',
handleSubmit: true,
dompath: true, //Turns on the bar at the bottom
animate: true //Animates the opening, closing and moving of Editor windows
});
myEditor.render();
Am I missing any js/css reference? please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要按此顺序导入以下内容:
它肯定会起作用。确保没有重复导入,否则将无法工作。
You need to import the following in this order:
It will work for sure. Make sure no import is repeated otherwise it won't work.
在这里回答:http://yuilibrary.com/forum/viewtopic.php?p =8741#p8741
Answered here: http://yuilibrary.com/forum/viewtopic.php?p=8741#p8741