Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing enter in a fenced vscode markdown code block with an unknown language doesn't work #410

Open
printfn opened this issue Sep 16, 2022 · 0 comments
Labels

Comments

@printfn
Copy link
Member

printfn commented Sep 16, 2022

Describe the bug
Create a Markdown element, disable spellcheck and type:

```fooxyz

```

When the cursor is inside the code block, try pressing the Enter key. Nothing happens. Happens in v4, in both Firefox and Safari.

Exception: Uncaught Error: Language id "vs.editor.nullLanguage" is not configured nor known

Uncaught Error: Language id "vs.editor.nullLanguage" is not configured nor known

X6@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:8:20964
getLanguageConfiguration@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:8:24136
getLanguageConfiguration@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:31:20247
getWordAtPosition@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:31:20542
getWordAtPosition@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:40:10077
_getWord@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1388:43954
_run@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1388:44141
_onPositionChanged@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1388:43849
sp/<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1388:41736
invoke@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:133
deliver@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:2513
fire@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:2169
_attachModel/<@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114:16135
invoke@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:133
deliver@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:2513
fire@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7:2169
_emitOutgoingEvents@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110:112848
endEmitViewEvents@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110:113541
_withViewEventsCollector@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112:4554
setCursorStates@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112:1971
runCoreEditorCommand@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86:4570
moveTo@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86:29012
dispatchMouse@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86:28845
_dispatchMouse@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53:19692
start@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53:17543
_onMouseDown@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53:15472
Yf/<@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53:12712
onMouseDown/<@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50:18114
i@https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14:9816
EventListener.handleEvent*xo/</<@https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14:14564
pa/</</<@https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:5:3150
FC@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11:55157
z@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11:49025
onMouseDown@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50:18092
Yf@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53:12664
zv@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:56:5146
Gw@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110:98480
_createView@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114:18815
_attachModel@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114:16843
lx@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:606:6130
_createInstance@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600:1262
createInstance@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600:710
oU@https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:607:234
r$/de<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237:8218
r$/<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237:8464
eft@https://web.getmicropad.com/dist/root-MIW3EHTX.js:118:6714
tCe</Ur.unstable_runWithPriority@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:46494
Om@https://web.getmicropad.com/dist/root-MIW3EHTX.js:114:38879
wh@https://web.getmicropad.com/dist/root-MIW3EHTX.js:118:6174
HSe</Jdt/<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:118:6086
Fz@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:45499
tCe</kz.port1.onmessage@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:44093
EventHandlerNonNull*tCe<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:44011
p/<@https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1:579
nCe<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:47176
p/<@https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1:579
HSe<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:110:47235
p/<@https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1:579
Cd<@https://web.getmicropad.com/dist/root-MIW3EHTX.js:118:21050
p/<@https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1:579
@https://web.getmicropad.com/dist/root-MIW3EHTX.js:558:6304
    unexpectedErrorHandler https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:3
    i https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    setTimeout handler*ci/< https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    unexpectedErrorHandler https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:1
    onUnexpectedError https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:5
    ze https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:1
    deliver https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    fire https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    _attachModel https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    invoke https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    deliver https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    fire https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    _emitOutgoingEvents https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    endEmitViewEvents https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    _withViewEventsCollector https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112
    setCursorStates https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112
    runCoreEditorCommand https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    moveTo https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    dispatchMouse https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    _dispatchMouse https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    start https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    _onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    Yf https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50
    i https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    xo https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    pa https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:5
    FC https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11
    z https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11
    onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50
    Yf https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    zv https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:56
    Gw https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    _createView https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    _attachModel https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    lx https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:606
    _createInstance https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600
    createInstance https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600
    oU https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:607
    de https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237
    r$/< https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237
    eft https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    unstable_runWithPriority https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    Om https://web.getmicropad.com/dist/root-MIW3EHTX.js:114
    wh https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    Jdt https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    Fz https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    onmessage https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    tCe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    nCe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    HSe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    Cd https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    <anonymous> https://web.getmicropad.com/dist/root-MIW3EHTX.js:558
[chunk-HJAMP3KC.js:3:12](https://web.getmicropad.com/dist/chunk-HJAMP3KC.js)
    unexpectedErrorHandler https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:3
    i https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    (Async: setTimeout handler)
    ci https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    unexpectedErrorHandler https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:1
    onUnexpectedError https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:5
    ze https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:1
    deliver https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    fire https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    _attachModel https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    invoke https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    deliver https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    fire https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:7
    _emitOutgoingEvents https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    endEmitViewEvents https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    _withViewEventsCollector https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112
    setCursorStates https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:112
    runCoreEditorCommand https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    moveTo https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    dispatchMouse https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:86
    _dispatchMouse https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    start https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    _onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    Yf https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50
    i https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    (Async: EventListener.handleEvent)
    xo https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:14
    pa https://web.getmicropad.com/dist/browser-support-index-4IQYVQPY.js:5
    FC https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11
    z https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:11
    onMouseDown https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:50
    Yf https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:53
    zv https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:56
    Gw https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:110
    _createView https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    _attachModel https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:114
    lx https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:606
    _createInstance https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600
    createInstance https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:600
    oU https://web.getmicropad.com/dist/chunk-HJAMP3KC.js:607
    de https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237
    r$/< https://web.getmicropad.com/dist/root-MIW3EHTX.js:1237
    eft https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    unstable_runWithPriority https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    Om https://web.getmicropad.com/dist/root-MIW3EHTX.js:114
    wh https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    Jdt https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    Fz https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    onmessage https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    (Async: EventHandlerNonNull)
    tCe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    nCe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    HSe https://web.getmicropad.com/dist/root-MIW3EHTX.js:110
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    Cd https://web.getmicropad.com/dist/root-MIW3EHTX.js:118
    p https://web.getmicropad.com/dist/chunk-SCWXO5GS.js:1
    <anonymous> https://web.getmicropad.com/dist/root-MIW3EHTX.js:558
@printfn printfn added the bug label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant