mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Add video chapters support
This commit is contained in:
parent
7113f32a87
commit
77b70702d2
101 changed files with 1957 additions and 158 deletions
|
@ -6,6 +6,7 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'
|
|||
import { SafeHtml } from '@angular/platform-browser'
|
||||
import { MarkdownService, ScreenService } from '@app/core'
|
||||
import { Video } from '@peertube/peertube-models'
|
||||
import { FormReactiveErrors } from './form-reactive.service'
|
||||
|
||||
@Component({
|
||||
selector: 'my-markdown-textarea',
|
||||
|
@ -23,7 +24,7 @@ import { Video } from '@peertube/peertube-models'
|
|||
export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit {
|
||||
@Input() content = ''
|
||||
|
||||
@Input() formError: string
|
||||
@Input() formError: string | FormReactiveErrors | FormReactiveErrors[]
|
||||
|
||||
@Input() truncateTo3Lines: boolean
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue