editor: remove transformCopied return type

This commit is contained in:
ammarahm-ed
2023-09-04 15:05:05 +05:00
parent f5eeb05350
commit 56eb3f522f

View File

@@ -81,7 +81,7 @@ export const ClipboardTextSerializer = Extension.create({
}
});
export function transformCopied(slice: Slice): Slice {
export function transformCopied(slice: Slice) {
// when copying a single list item, we shouldn't retain the
// list formatting but copy it as a paragraph.
const maybeList = slice.content.firstChild;