support for prompt styles

fix broken prompt matrix
This commit is contained in:
AUTOMATIC
2022-09-09 23:16:02 +03:00
parent d714ea4c41
commit 86867e153f
10 changed files with 123 additions and 22 deletions

View File

@@ -194,3 +194,12 @@ window.addEventListener('paste', e => {
input.dispatchEvent(new Event('change'))
});
});
function ask_for_style_name(style_name, text){
input = prompt('Style name:');
if (input === null) {
return [null, null]
}
return [input, text]
}