parent
20c0690352
commit
ed4860dfd9
4 changed files with 50 additions and 0 deletions
|
|
@ -37,6 +37,12 @@ export default (tokens: Node[], mentionedRemoteUsers: INote['mentionedRemoteUser
|
|||
return el;
|
||||
},
|
||||
|
||||
italic(token) {
|
||||
const el = doc.createElement('i');
|
||||
dive(token.children).forEach(child => el.appendChild(child));
|
||||
return el;
|
||||
},
|
||||
|
||||
motion(token) {
|
||||
const el = doc.createElement('i');
|
||||
dive(token.children).forEach(child => el.appendChild(child));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue