Add slash commands for instruct and context

This commit is contained in:
Cohee
2024-01-18 17:24:07 +02:00
parent f966c398ef
commit b8445eb2cd
2 changed files with 57 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function highlightDefaultPreset() {
* Select context template if not already selected.
* @param {string} preset Preset name.
*/
function selectContextPreset(preset) {
export function selectContextPreset(preset) {
// If context template is not already selected, select it
if (preset !== power_user.context.preset) {
$('#context_presets').val(preset).trigger('change');