Skip to content

Commit 97c3ea7

Browse files
Allow inline code to be bolded and italicized (outline#8843)
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
1 parent 4af2b03 commit 97c3ea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/editor/marks/Code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class Code extends Mark {
2121

2222
get schema(): MarkSpec {
2323
return {
24-
excludes: "mention placeholder highlight em strong",
24+
excludes: "mention placeholder highlight",
2525
parseDOM: [{ tag: "code", preserveWhitespace: true }],
2626
toDOM: () => ["code", { class: "inline", spellCheck: "false" }],
2727
};

0 commit comments

Comments
 (0)