ContentAsset records metadata (kind, title, description, release date, season/episode/sequence) for an UploadedAsset, scoped to a studio. ContentGroup groups episodes into a series or movies into a collection. The studio page now has tabs for uploaded files and content, both loaded with htmx. Files without content get a "Create content" button. Content opens read-only with an Edit button; the form shows immediately when a save fails validation. Also adds the draft job status to the migration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
367 B
JavaScript
15 lines
367 B
JavaScript
|
|
|
|
document.body.addEventListener("initialize_tinymce", function(evt){
|
|
tinymce.remove();
|
|
tinymce.init({
|
|
selector: evt.detail.selector,
|
|
license_key: 'gpl',
|
|
menubar: '',
|
|
toolbar: 'undo redo | bold italic | bullist numlist | link emoticons',
|
|
plugins: [
|
|
'link', 'emoticons', 'lists'
|
|
]
|
|
})
|
|
});
|