Fix creator notes display field (in char panel) not updating when changed in Advanced Definitions (#4552) * feat: update creator notes display when editing character and updating content * Fix interaction with create form --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>

c9419a383e19d9fc70afad4d040374a4d537d00b

Wolfsblvt <wolfsblvt@gmail.com>

Signed
1 files changed, +6 -0Ignore whitespace
public/script.js+6 -0
@@ -9794,6 +9794,12 @@ jQuery(async function () {
97949794 });
97959795 });
97969796
9797+ $('#creator_notes_textarea').on('input', function () {
9798+ const notes = String($('#creator_notes_textarea').val());
9799+ const avatar = menu_type === 'create' ? '' : characters[this_chid]?.avatar;
9800+ $('#creator_notes_spoiler').html(formatCreatorNotes(notes, avatar));
9801+ });
9802+
97979803 $('#favorite_button').on('click', function () {
97989804 updateFavButtonState(!fav_ch_checked);
97999805 if (menu_type != 'create') {