mirror of
https://github.com/outline/outline.git
synced 2026-12-04 10:24:43 +03:00
minor fix
This commit is contained in:
1 parent
e0e6547313
commit
7b143029a3
1 file changed
+1
-3
@@ -117,16 +117,14 @@ export default class Emoji extends Extension {
|
||||
const escapedAlt = state.esc(alt, false);
|
||||
const escapedUrl = state.esc(url, false);
|
||||
|
||||
const markdown = `${prefix}`;
|
||||
const markdown = `${prefix}`;
|
||||
state.write(markdown);
|
||||
} else if (name) {
|
||||
state.write(`:${name}:`);
|
||||
}
|
||||
}
|
||||
|
||||
// to do: custom emoji conversion
|
||||
parseMarkdown() {
|
||||
// const url =
|
||||
return {
|
||||
node: "emoji",
|
||||
getAttrs: (tok: Token) => {
|
||||
|
||||
Reference in new issue
Block a user