1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
DanieL 2022-07-26 13:21:20 -03:00
parent a088da6921
commit c2b0dd0173

View file

@ -1064,7 +1064,12 @@ if (empty($advancedCustom->disableHTMLDescription)) {
?>
$('#inputDescription').val(row.descriptionHTML);
if(!empty(tinymce.get('inputDescription'))){
tinymce.get('inputDescription').setContent(row.descriptionHTML);
try {
tinymce.get('inputDescription').setContent(row.descriptionHTML);
} catch (e) {
console.error('inputDescription', e, typeof tinymce.get('inputDescription'));
}
}
<?php