1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Add playlist support while is encoding

This commit is contained in:
Daniel Neto 2024-05-20 17:23:09 -03:00
parent 8686c07e29
commit 8714d1d850
6 changed files with 228 additions and 127 deletions

View file

@ -4212,8 +4212,13 @@ function confirmAndDelete(urlToDelete, id, functionForResponse) {
}
function getTinyMCEVal(id) {
return $(tinymce.get(id).getBody()).html();
if (tinymce && tinymce.get(id)) {
return tinymce.get(id).getContent();
} else {
return $('#' + id).val();
}
}
function setTinyMCEVal(id, val) {
$('#' + id).val(val);
tinymce.get(id).setContent(val);