mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-31 11:35:37 +01:00
WI key input default to plaintext
This commit is contained in:
parent
00ce078630
commit
8f1a959da1
@ -1483,6 +1483,9 @@ function getWorldEntry(name, data, entry) {
|
||||
template.data('uid', entry.uid);
|
||||
template.attr('uid', entry.uid);
|
||||
|
||||
// Init default state of WI Key toggle (=> true)
|
||||
if (typeof power_user.wi_key_input_plaintext === 'undefined') power_user.wi_key_input_plaintext = true;
|
||||
|
||||
/** Function to build the keys input controls @param {string} entryPropName @param {string} originalDataValueName */
|
||||
function enableKeysInput(entryPropName, originalDataValueName) {
|
||||
const isFancyInput = !isMobile() && !power_user.wi_key_input_plaintext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user