plane/apps/app/components/tiptap/extensions/updated-image.tsx

18 lines
282 B
TypeScript
Raw Normal View History

2023-08-16 17:13:17 +00:00
import Image from "@tiptap/extension-image";
const UpdatedImage = Image.extend({
addAttributes() {
return {
...this.parent?.(),
width: {
default: null,
},
height: {
default: null,
},
};
},
});
export default UpdatedImage;