|
Revision 886, 0.6 kB
(checked in by fumiakiy, 16 months ago)
|
|
Handle the result of regex.replace right to avoid empty images to be embedded. Thanks Makoto Tajima/M-logic for the bug report.
|
| Line | |
|---|
| 1 | name: EmoticonButton |
|---|
| 2 | id: emoticonbutton |
|---|
| 3 | version: 1.1 |
|---|
| 4 | author: Fumiaki Yoshimatsu, Six Apart K.K. |
|---|
| 5 | author_url: http://www.luckypines.com/mt/ |
|---|
| 6 | description: Add a button to insert emoticons to the default richtext editor. Emoticon graphics are from typecasemobile. |
|---|
| 7 | |
|---|
| 8 | callbacks: |
|---|
| 9 | MT::App::CMS::template_source.archetype_editor: $emoticonbutton::EmoticonButton::Plugin::inject_button_src |
|---|
| 10 | MT::App::CMS::template_param.edit_entry: $emoticonbutton::EmoticonButton::Plugin::inject_button_param |
|---|
| 11 | MT::Entry::post_load: $emoticonbutton::EmoticonButton::Plugin::entry_loaded |
|---|