Rich Text Editor: Inline image spills over element

Hello,

I tried the Rich Text Editor in-lin image upload.

When I am viewing the rich text output though, the in-line image spills over the element:

I would need the image to be stretched to fit in I suppose.

How can that be done?

PS: I suppose a horizontal scroll bar would be an acceptable alternative solutio too :thinking:

I am trying the CSS overflow-x attribute to no avail:

Fixed using REGEX while outputting the text:

image

Regex String:
(?<=\[img width=)(.*)(?=\]\/)

3 Likes

Hi, I see this is the regex string to find. what is it replaced with? Unless I may be misunderstanding.

Thanks!
Andrew

Replace with 100%.

Latest iteration of this is:
image

1 Like