Compare commits

...

2 Commits

Author SHA1 Message Date
codegen-sh[bot] 5384ee8aae Fix: Table column widths are not retained in copy/paste 2025-03-30 21:46:27 +00:00
codegen-sh[bot] 97c3ea7da8 Allow inline code to be bolded and italicized (#8843)
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
2025-03-30 14:44:21 -07:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default class Code extends Mark {
get schema(): MarkSpec {
return {
excludes: "mention placeholder highlight em strong",
excludes: "mention placeholder highlight",
parseDOM: [{ tag: "code", preserveWhitespace: true }],
toDOM: () => ["code", { class: "inline", spellCheck: "false" }],
};
+2
View File
@@ -98,6 +98,8 @@ export default class TableCell extends Node {
}
}
// For all other cases, preserve the slice as is to maintain table structure
// including column widths and other attributes
return slice;
},
handleDOMEvents: {