-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
Describe the bug
When using ImageEidtPlugin, we will add a text-bottom vertical alignment for the image wrapper while updating it. It leads a result that the content below the image will be pushed down after selecting the image.
export function updateWrapper {
...
setWrapperSizeDimensions(wrapper, image, visibleWidth, visibleHeight);
wrapper.style.verticalAlign = 'text-bottom';
...
}Could you please share with us on what's the purpose for this alignment style? Can we remove it if it's not by design?
Reproduce Steps
- Insert an image in the editor.
- Input any text at the next line of the image.
- Select the image and observe the position of the text below the image.
Videos
// Repro on OWA:
ImageEditBug.mov
Device Information
It can be reproduced both on RoosterJS Demo and OWA (Chrome and Safari).
Metadata
Metadata
Assignees
Labels
No labels