You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Chore: Export extractNoteFromHTML from notes services library (#9086)
This commit is contained in:
@ -48,7 +48,7 @@ type ImageObject = {
|
||||
naturalHeight?: number;
|
||||
};
|
||||
|
||||
export function getImageSizes(element: HTMLElement, forceAbsoluteUrls = false) {
|
||||
export function getImageSizes(element: Document, forceAbsoluteUrls = false) {
|
||||
const output: Record<string, ImageObject[]> = {};
|
||||
|
||||
const images = element.getElementsByTagName('img');
|
||||
|
Reference in New Issue
Block a user