Image disappears from the note preview if a width and/or height is specified
Categories
(Websites :: Nucleus, defect)
Tracking
(Not tracked)
People
(Reporter: RyanVM, Unassigned)
Details
When using an <img>
tag, Nucleus' preview will show the image when just the src
and alt
are specified, but once width
or height
are added, the image disappears.
Reporter | ||
Comment 1•2 years ago
|
||
The images do load correctly on Bedrock, however.
Comment 2•2 years ago
|
||
Added to our issue tracker in GitHub.
Comment 3•2 years ago
|
||
Workaround/fix found with no code changes - please see https://github.com/mozilla/nucleus/issues/783#issuecomment-1704973765 to confirm whether this is good enough.
If not, we'll have to patch StackOverflow's pagedown
library, because the same niggle exists there (and therefore on the StackExchange network - see the GH comment for more)
Reporter | ||
Comment 4•2 years ago
|
||
Can we patch Nucleus to pop up a reminder if the <img> tag is specified? We'll add a note to our docs as well, though.
Comment 5•2 years ago
•
|
||
Can we patch Nucleus to pop up a reminder if the <img> tag is specified?
We can try, and if it opens a can of worms, we can at least add a hint at the bottom of the markdown area. I have ticketed that over in https://github.com/mozilla/nucleus/issues/789
Can we call this resolved for the bug, and we'll track the reminder elsewhere?
Reporter | ||
Comment 6•2 years ago
|
||
Sure
Description
•