Get initial focus to input for link and gruop
This commit is contained in:
@@ -14,6 +14,7 @@ class EditorGroup extends EditorEntryBase {
|
||||
|
||||
afterDomAdd() {
|
||||
this.nodes_.selectNext();
|
||||
this.nodes_.getSelected().xArchObj.startEdit();
|
||||
}
|
||||
|
||||
serialize() {
|
||||
|
||||
@@ -16,6 +16,7 @@ class EditorLink extends EditorEntryBase {
|
||||
|
||||
afterDomAdd() {
|
||||
this.nodes_.selectNext();
|
||||
this.nodes_.getSelected().xArchObj.startEdit();
|
||||
}
|
||||
|
||||
serialize() {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
--group-background: rgba(0,0,0,0.5);
|
||||
--node-background: #000000;
|
||||
--input: rgba(255,255,255,0.2);
|
||||
--input-focus: rgba(255,0,0,0.2);
|
||||
}
|
||||
|
||||
:root {
|
||||
@@ -110,7 +111,7 @@ body {
|
||||
}
|
||||
|
||||
.editor li input:focus {
|
||||
border: var(--focus);
|
||||
background-color: var(--input-focus);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user