|
@@ -1357,9 +1357,9 @@
|
1357
|
1357
|
zss_editor.enabledEditingItems();
|
1358
|
1358
|
}
|
1359
|
1359
|
|
1360
|
|
- zss_editor.insertEmoji = function(url) {
|
|
1360
|
+ zss_editor.insertEmoji = function(url, tag) {
|
1361
|
1361
|
zss_editor.restorerange();
|
1362
|
|
- document.execCommand('insertHTML', false, '<img class="emoji" src="' + encodeHtmlEntities(url) + '"/>');
|
|
1362
|
+ document.execCommand('insertHTML', false, '<img tag="' + tag + '" class="emoji" src="' + encodeHtmlEntities(url) + '"/>');
|
1363
|
1363
|
zss_editor.backuprange(true);
|
1364
|
1364
|
zss_editor.blurContentEditor();
|
1365
|
1365
|
zss_editor.enabledEditingItems();
|