开发者

How to change title of the customly added emotes in tinymce?

Hiii

I can add a emote by just adding this :

<a href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}" title="{#emotions_dlg.frown}" /></a>

But when i hover it shows me : ($emotions_dlg.myemote} .

Ho开发者_运维百科w can i change it to something like this myemote


Maybe you will just write text what you want instead of {$emotions_dlg.myemote}? Not pretty clear what you want.


In case you use an own plugin (called own_plugin here) you may use the plugin's language file to acces the description to add it to your emoticon

<a>...<img onMouseOver="this.alt=tinymce.EditorManager.i18n[en.own_plugin.myemote]" src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}" title="{#emotions_dlg.frown}" /></a>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜