From 8ee25e17b88b970703f4df9e74cb4726bbffd837 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 31 May 2021 11:33:49 +0200 Subject: Add ability to set custom markdown in description --- .../shared-custom-markup.module.ts | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts') diff --git a/client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts b/client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts index 66f6b98f6..dccd64709 100644 --- a/client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts +++ b/client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts @@ -5,15 +5,18 @@ import { SharedGlobalIconModule } from '../shared-icons' import { SharedMainModule } from '../shared-main' import { SharedVideoMiniatureModule } from '../shared-video-miniature' import { SharedVideoPlaylistModule } from '../shared-video-playlist' -import { ButtonMarkupComponent } from './button-markup.component' -import { ChannelMiniatureMarkupComponent } from './channel-miniature-markup.component' +import { CustomMarkupContainerComponent } from './custom-markup-container.component' import { CustomMarkupHelpComponent } from './custom-markup-help.component' import { CustomMarkupService } from './custom-markup.service' import { DynamicElementService } from './dynamic-element.service' -import { EmbedMarkupComponent } from './embed-markup.component' -import { PlaylistMiniatureMarkupComponent } from './playlist-miniature-markup.component' -import { VideoMiniatureMarkupComponent } from './video-miniature-markup.component' -import { VideosListMarkupComponent } from './videos-list-markup.component' +import { + ButtonMarkupComponent, + ChannelMiniatureMarkupComponent, + EmbedMarkupComponent, + PlaylistMiniatureMarkupComponent, + VideoMiniatureMarkupComponent, + VideosListMarkupComponent +} from './peertube-custom-tags' @NgModule({ imports: [ @@ -33,7 +36,8 @@ import { VideosListMarkupComponent } from './videos-list-markup.component' EmbedMarkupComponent, VideosListMarkupComponent, ButtonMarkupComponent, - CustomMarkupHelpComponent + CustomMarkupHelpComponent, + CustomMarkupContainerComponent ], exports: [ @@ -43,7 +47,8 @@ import { VideosListMarkupComponent } from './videos-list-markup.component' VideosListMarkupComponent, EmbedMarkupComponent, ButtonMarkupComponent, - CustomMarkupHelpComponent + CustomMarkupHelpComponent, + CustomMarkupContainerComponent ], providers: [ -- cgit v1.2.3