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.
1 parent b3b3212 commit 8035374Copy full SHA for 8035374
packages/components/react/src/core/CodeMirrorEditor/index.tsx
@@ -208,6 +208,7 @@ function newEditorState(
208
return EditorState.create({
209
doc: content,
210
extensions: [
211
+ EditorView.contentAttributes.of({ 'aria-label': 'Editor' }),
212
EditorView.domEventHandlers({
213
scroll: debounce((_event, view) => {
214
onScrollRef.current?.({ left: view.scrollDOM.scrollLeft, top: view.scrollDOM.scrollTop });
0 commit comments