Commit 97e42803 authored by Van's avatar Van

🎨 #12787

parent c7834cd7
...@@ -27,7 +27,8 @@ import java.util.regex.Pattern; ...@@ -27,7 +27,8 @@ import java.util.regex.Pattern;
* Emotions utilities. * Emotions utilities.
* *
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.1.0.1, Jun 1, 2019 * @author <a href="http://vanessa.b3log.org">Vanessa</a>
* @version 1.1.1.0, June 1, 2019
* @since 1.4.0 * @since 1.4.0
*/ */
public final class Emotions { public final class Emotions {
...@@ -46,7 +47,7 @@ public final class Emotions { ...@@ -46,7 +47,7 @@ public final class Emotions {
ret = toUnicode(ret); ret = toUnicode(ret);
String repl = "<img align=\"absmiddle\" alt=\":huaji:\" class=\"emoji\" src=\"" String repl = "<img align=\"absmiddle\" alt=\":huaji:\" class=\"emoji\" src=\""
+ Latkes.getStaticServePath() + "/js/lib/emojify.js-1.1.0/images/basic/huaji.gif" + "\" title=\":huaji:\" width=\"20px\" height=\"20px\"></img>"; + Latkes.getStaticServePath() + "/images/emoji/huaji.gif" + "\" title=\":huaji:\" width=\"20px\" height=\"20px\"></img>";
ret = StringUtils.replace(ret, ":huaji:", repl); ret = StringUtils.replace(ret, ":huaji:", repl);
return ret; return ret;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* @fileoverview editor * @fileoverview editor
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.2.1.0, Apr 13, 2019 * @version 1.3.0.0, Jun 1, 2019
*/ */
admin.editors = {} admin.editors = {}
...@@ -45,7 +45,7 @@ $.extend(SoloEditor.prototype, { ...@@ -45,7 +45,7 @@ $.extend(SoloEditor.prototype, {
cache: true, cache: true,
tab: '\t', tab: '\t',
hint: { hint: {
emojiPath: Label.staticServePath + '/js/lib/emojify.js-1.1.0/images/basic' emojiPath: Label.staticServePath + '/images/emoji'
}, },
preview: { preview: {
delay: 500, delay: 500,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment