mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 17:11:43 +00:00
rename replaceCustomEmoji.js to customEmoji.js
This commit is contained in:
parent
4393095af4
commit
84fc7b4f84
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import twemoji from 'twemoji'
|
||||||
import emojiParser from '@/utils/emojiParser';
|
import emojiParser from '@/utils/emojiParser';
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
|
|
||||||
import customEmoji from './markdown-it-plugins/replaceCustomEmoji'
|
import customEmoji from './markdown-it-plugins/customEmoji'
|
||||||
|
|
||||||
import hljs from 'highlight.js'
|
import hljs from 'highlight.js'
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ const markdown = new MarkdownIt({
|
||||||
}
|
}
|
||||||
}).use(chatPlugin)
|
}).use(chatPlugin)
|
||||||
.use(customEmoji);
|
.use(customEmoji);
|
||||||
|
|
||||||
const emojiFormatter = new Formatter();
|
const emojiFormatter = new Formatter();
|
||||||
|
|
||||||
emojiFormatter.addTransformer({
|
emojiFormatter.addTransformer({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue