fix: Backtick shortcut not applied correctly with composition (#6659)
* fix: Backtick shortcut not applied correctly with composition * docs
This commit is contained in:
@@ -61,8 +61,12 @@ export default class Code extends Mark {
|
||||
}
|
||||
|
||||
get plugins() {
|
||||
const codeCursorPlugin = codemark({
|
||||
markType: this.editor.schema.marks.code_inline,
|
||||
})[0];
|
||||
|
||||
return [
|
||||
...codemark({ markType: this.editor.schema.marks.code_inline }),
|
||||
codeCursorPlugin,
|
||||
new Plugin({
|
||||
props: {
|
||||
// Typing a character inside of two backticks will wrap the character
|
||||
|
||||
Reference in New Issue
Block a user