mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
editor: remove transformCopied return type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user