File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/jupyterlab-lsp/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,12 @@ export class EditApplicator {
189
189
if ( ! editor ) {
190
190
throw Error ( 'Editor is not accessible' ) ;
191
191
}
192
- if ( editor . host . closest ( '.jp-MarkdownCell' ) ) {
192
+ if (
193
+ editor . host . closest ( '.jp-MarkdownCell' ) ||
194
+ editor . host . closest ( '.jp-RawCell' )
195
+ ) {
193
196
// Workaround for https://github.com/jupyter-lsp/jupyterlab-lsp/issues/1008
197
+ // and for https://github.com/jupyter-lsp/jupyterlab-lsp/issues/1084
194
198
// briefly, the rewrite for JupyterLab 4.0 added Markdown cell support, but they
195
199
// are extracted without trace in the top-level document. Here we avoid editing
196
200
// any markdown cell. Instead the clean solution would be to add an anchor marker
You can’t perform that action at this time.
0 commit comments