Skip to content

Commit 656b272

Browse files
authored
add symbols and punctuation
1 parent d4b8e2b commit 656b272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/data-editor/data-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3342,7 +3342,7 @@ const DataEditorImpl: React.ForwardRefRenderFunction<DataEditorRef, DataEditorPr
33423342
!event.ctrlKey &&
33433343
gridSelection.current !== undefined &&
33443344
event.key.length === 1 &&
3345-
/[\p{L}\p{M}\p{N}]/ug.test(event.key) &&
3345+
/[\p{L}\p{M}\p{N}\p{S}\p{P}]/gu.test(event.key) &&
33463346
event.bounds !== undefined &&
33473347
isReadWriteCell(getCellContent([col - rowMarkerOffset, Math.max(0, Math.min(row, rows - 1))]))
33483348
) {

0 commit comments

Comments
 (0)