1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed youtube block

This commit is contained in:
Fedor Katurov 2019-11-26 11:07:40 +07:00
parent 93afa626db
commit b87487ed1f
7 changed files with 34 additions and 7 deletions

View file

@ -1,4 +1,5 @@
import { CommentTextBlock } from '~/components/comment/CommentTextBlock';
import { CommentEmbedBlock } from '~/components/comment/CommentEmbedBlock';
export const COMMENT_BLOCK_TYPES = {
TEXT: 'TEXT',
@ -29,5 +30,5 @@ export type ICommentBlock = {
export const COMMENT_BLOCK_RENDERERS = {
[COMMENT_BLOCK_TYPES.TEXT]: CommentTextBlock,
[COMMENT_BLOCK_TYPES.MARK]: CommentTextBlock,
[COMMENT_BLOCK_TYPES.EMBED]: CommentTextBlock,
[COMMENT_BLOCK_TYPES.EMBED]: CommentEmbedBlock,
};