fix(Editor): insert emoji at cursor

This commit is contained in:
Evangelos Paterakis 2023-02-24 22:43:52 +02:00
parent c57b59795b
commit 7e4f02bc8e
No known key found for this signature in database
GPG Key ID: FE5185F095BFC8C9
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class Tooth.EditorPage : ComposerPage {
}
protected void on_emoji_picked(string emoji_unicode) {
editor.buffer.text += emoji_unicode;
editor.buffer.insert_at_cursor(emoji_unicode, emoji_unicode.data.length);
}
protected ToggleButton cw_button;