Respect external media preferences in creator notes
This commit is contained in:
parent
8cf1671d56
commit
8767c2a90b
|
@ -6445,7 +6445,7 @@ export function select_selected_character(chid) {
|
|||
$('#description_textarea').val(characters[chid].description);
|
||||
$('#character_world').val(characters[chid].data?.extensions?.world || '');
|
||||
$('#creator_notes_textarea').val(characters[chid].data?.creator_notes || characters[chid].creatorcomment);
|
||||
$('#creator_notes_spoiler').html(DOMPurify.sanitize(converter.makeHtml(characters[chid].data?.creator_notes || characters[chid].creatorcomment)));
|
||||
$('#creator_notes_spoiler').html(DOMPurify.sanitize(converter.makeHtml(characters[chid].data?.creator_notes || characters[chid].creatorcomment), { MESSAGE_SANITIZE: true }));
|
||||
$('#character_version_textarea').val(characters[chid].data?.character_version || '');
|
||||
$('#system_prompt_textarea').val(characters[chid].data?.system_prompt || '');
|
||||
$('#post_history_instructions_textarea').val(characters[chid].data?.post_history_instructions || '');
|
||||
|
@ -6515,7 +6515,7 @@ function select_rm_create() {
|
|||
$('#description_textarea').val(create_save.description);
|
||||
$('#character_world').val(create_save.world);
|
||||
$('#creator_notes_textarea').val(create_save.creator_notes);
|
||||
$('#creator_notes_spoiler').html(DOMPurify.sanitize(converter.makeHtml(create_save.creator_notes)));
|
||||
$('#creator_notes_spoiler').html(DOMPurify.sanitize(converter.makeHtml(create_save.creator_notes), { MESSAGE_SANITIZE: true }));
|
||||
$('#post_history_instructions_textarea').val(create_save.post_history_instructions);
|
||||
$('#system_prompt_textarea').val(create_save.system_prompt);
|
||||
$('#tags_textarea').val(create_save.tags);
|
||||
|
|
Loading…
Reference in New Issue