hi @Jordi_Vuong the attribute style mean that code is injected into the element directly by your custom code or some 3d party library you are using.
You may try to set your RT images in CMS to auto which will make these 100% you have some set to full width and when you switch to custom it will show 1200 or 1800. at least it is some suggestion of where to start.