Blurry Screenshots Due to Automatic Height/Width Assignment
Ivanna Parra
Issue Summary:
When pasting a new screenshot into the editor, it is automatically:
- Centered
- Assigned a height and width dimension
- Appearing blurry in both the editor and public preview
Impact:
- Screenshots need to be manually left-aligned to work within continuous numbered lists.
- The assigned dimensions in the HTML appear to cause the blurriness.
- Manually removing these dimensions via Regex fixes the issue, making images appear clear again.
Steps to Reproduce:
- Copy a screenshot using a screenshot tool.
- Paste it directly into the Helpjuice editor (without using the Upload Manager).
- Observe that the image:
- Is centered
- Has height/width attributes automatically assigned
- Appears blurry in both the editor and live preview
- Compare with images where height/width attributes were manually removed—these appear sharp.
Expected Behavior:
- Screenshots should retain their original sharpness without requiring manual HTML adjustments.
- Alignment should not be forced to center.