mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-09 15:57:26 +02:00
minor ui base component fixes and shablon update
This commit is contained in:
1 parent
32fa2ddf77
commit
9f1a4bcfa5
11 files changed
+35
-17
No files matched your search
@@ -307,6 +307,12 @@ window.app.components.codeEditor = function(propsArg = {}) {
|
||||
return;
|
||||
}
|
||||
|
||||
// prevent "Tab trap"
|
||||
if (!props.singleLine && e.key == "Escape" && !dropdown?.isConnected) {
|
||||
editorContent?.blur();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!props.singleLine && e.key == "Tab") {
|
||||
e.preventDefault();
|
||||
const selection = window.getSelection();
|
||||
|
||||
Reference in new issue
Block a user