markdown support in spoiler display
This commit is contained in:
parent
77791ae3e9
commit
1e555bcb8f
|
@ -4020,7 +4020,7 @@
|
||||||
<div id="spoiler_free_desc_button" class="menu_button fa-solid fa-eye" title="Show / Hide Description and First Message" data-i18n="[title]Show / Hide Description and First Message"></div>
|
<div id="spoiler_free_desc_button" class="menu_button fa-solid fa-eye" title="Show / Hide Description and First Message" data-i18n="[title]Show / Hide Description and First Message"></div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<textarea readonly id="creator_notes_spoiler" class="flex1" data-i18n="[placeholder]Creator's Notes" placeholder="Creator's Notes" class="marginBot5" name="creator_notes_spoiler"></textarea>
|
<div id="creator_notes_spoiler" class="flex1" data-i18n="[placeholder]Creator's Notes" paceholder="Creator's Notes" class="marginBot5" name="creator_notes_spoiler"></div>
|
||||||
<!-- A button to show / hide description_div and description_textarea and first_message_div and firstmessage_textarea-->
|
<!-- A button to show / hide description_div and description_textarea and first_message_div and firstmessage_textarea-->
|
||||||
</div>
|
</div>
|
||||||
<div id="descriptionWrapper" class="flex-container flexFlowColumn flex1">
|
<div id="descriptionWrapper" class="flex-container flexFlowColumn flex1">
|
||||||
|
|
|
@ -6442,7 +6442,7 @@ export function select_selected_character(chid) {
|
||||||
$('#description_textarea').val(characters[chid].description);
|
$('#description_textarea').val(characters[chid].description);
|
||||||
$('#character_world').val(characters[chid].data?.extensions?.world || '');
|
$('#character_world').val(characters[chid].data?.extensions?.world || '');
|
||||||
$('#creator_notes_textarea').val(characters[chid].data?.creator_notes || characters[chid].creatorcomment);
|
$('#creator_notes_textarea').val(characters[chid].data?.creator_notes || characters[chid].creatorcomment);
|
||||||
$('#creator_notes_spoiler').text(characters[chid].data?.creator_notes || characters[chid].creatorcomment);
|
$('#creator_notes_spoiler').html(converter.makeHtml(characters[chid].data?.creator_notes || characters[chid].creatorcomment));
|
||||||
$('#character_version_textarea').val(characters[chid].data?.character_version || '');
|
$('#character_version_textarea').val(characters[chid].data?.character_version || '');
|
||||||
$('#system_prompt_textarea').val(characters[chid].data?.system_prompt || '');
|
$('#system_prompt_textarea').val(characters[chid].data?.system_prompt || '');
|
||||||
$('#post_history_instructions_textarea').val(characters[chid].data?.post_history_instructions || '');
|
$('#post_history_instructions_textarea').val(characters[chid].data?.post_history_instructions || '');
|
||||||
|
@ -6512,7 +6512,7 @@ function select_rm_create() {
|
||||||
$('#description_textarea').val(create_save.description);
|
$('#description_textarea').val(create_save.description);
|
||||||
$('#character_world').val(create_save.world);
|
$('#character_world').val(create_save.world);
|
||||||
$('#creator_notes_textarea').val(create_save.creator_notes);
|
$('#creator_notes_textarea').val(create_save.creator_notes);
|
||||||
$('#creator_notes_spoiler').text(create_save.creator_notes);
|
$('#creator_notes_spoiler').html(converter.makeHtml(create_save.creator_notes));
|
||||||
$('#post_history_instructions_textarea').val(create_save.post_history_instructions);
|
$('#post_history_instructions_textarea').val(create_save.post_history_instructions);
|
||||||
$('#system_prompt_textarea').val(create_save.system_prompt);
|
$('#system_prompt_textarea').val(create_save.system_prompt);
|
||||||
$('#tags_textarea').val(create_save.tags);
|
$('#tags_textarea').val(create_save.tags);
|
||||||
|
|
Loading…
Reference in New Issue