File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
JSONEditorSelection ,
13
13
JSONParser ,
14
14
JSONPathParser ,
15
+ JSONSelection ,
15
16
OnClassName ,
16
17
OnPatch ,
17
18
OnRenderMenu ,
94
95
}
95
96
96
97
function scrollToSelection() {
97
- const selection: JSONPath | null = last (stack )?.selection || null
98
+ const selection: JSONEditorSelection | null = last (stack )?.selection || null
98
99
if (selection ) {
99
100
refEditor .scrollTo (getFocusPath (selection ))
100
101
}
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ export function insertActiveElementContents(
243
243
244
244
if ( activeElement && activeElement . isContentEditable ) {
245
245
activeElement . textContent = replaceContents ? text : activeElement . textContent + text
246
- console . log ( 'UPDATED TEXT' , replaceContents ? text : activeElement . textContent + text )
247
246
setCursorToEnd ( activeElement )
248
247
if ( onActiveElement ) {
249
248
onActiveElement ( activeElement )
You can’t perform that action at this time.
0 commit comments