1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Clipper: Better handling of images when multiple images have the same source but with different dimensions

This commit is contained in:
Laurent Cozic
2019-07-16 21:47:44 +01:00
parent 38e8a881d5
commit 2361c5a5e7
3 changed files with 32 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ class HtmlToHtml {
}
// We need this extra style so that the images don't overflow
const extraStyle = '<style>img {max-width: 100%;height: auto;}</style>'
const extraStyle = ''; //<style>img {max-width: 100%;height: auto;}</style>'
return {
html: extraStyle + htmlUtils.headAndBodyHtml(dom.window.document),