Skip to content

Commit

Permalink
feat(CodeBlock): do not select codeblock node when clicking on it
Browse files Browse the repository at this point in the history
  • Loading branch information
d3m1d0v committed Oct 25, 2023
1 parent 19540e1 commit 67bad99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/markdown/CodeBlock/CodeBlockSpecs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const CodeBlockSpecs: ExtensionAuto<CodeBlockSpecsOptions> = (builder, op
code: true,
marks: '',
selectable: true,
allowSelection: true,
allowSelection: false,
parseDOM: [
{
tag: 'pre',
Expand Down

0 comments on commit 67bad99

Please sign in to comment.