We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startRow
getLocalContext
undefined
1 parent 8cec8af commit 66cfdd0Copy full SHA for 66cfdd0
lib/misc/blocks.js
@@ -130,7 +130,7 @@ export function get (ed) {
130
export function getLocalContext (editor, row) {
131
const range = getRange(editor, row)
132
const context = range ? editor.getTextInBufferRange(range) : ''
133
- const startRow = range ? range[0][0] : null
+ const startRow = range ? range[0][0] : undefined
134
return {
135
context,
136
0 commit comments