Commit 3c8ccf5
[WEB-30] [EDITOR] inserting block immediately focuses input (#344)
* First attempt to autofocus on new blocks using forward refs
* Finished problem by adding autofocus prop to Editable component
* Removed code related to old implementation of autofocus
---------
Co-authored-by: Josh Ramos <josh.ramos@student.unsw.edu.au>1 parent 4a7f9a2 commit 3c8ccf5
File tree
2 files changed
+2
-0
lines changed- frontend/src/packages/editor/components
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments