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:
parent
93afa626db
commit
b87487ed1f
7 changed files with 34 additions and 7 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue