parent
960cf6b981
commit
e99bb8d025
|
|
@ -182,6 +182,13 @@ onUiLoaded(async () => {
|
||||||
var removeUnderscore = LeFormatter.defaultRemoveUnderscore();
|
var removeUnderscore = LeFormatter.defaultRemoveUnderscore();
|
||||||
const refresh = LeFormatter.shouldRefresh();
|
const refresh = LeFormatter.shouldRefresh();
|
||||||
|
|
||||||
|
document.addEventListener('keydown', (e) => {
|
||||||
|
if (e.altKey && e.shiftKey && e.code === 'KeyF') {
|
||||||
|
e.preventDefault();
|
||||||
|
promptFields.forEach((field) => LeFormatter.formatPipeline(field, dedupe, removeUnderscore, true));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
const manualBtn = LeFormatter.button({
|
const manualBtn = LeFormatter.button({
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
promptFields.forEach((field) => LeFormatter.formatPipeline(field, dedupe, removeUnderscore, true));
|
promptFields.forEach((field) => LeFormatter.formatPipeline(field, dedupe, removeUnderscore, true));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue