Opened 15 years ago
Closed 15 years ago
#5430 closed Bug (worksforme)
Cannot insert <img> without losing width and size info.
Reported by: | Matty Brown | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.2 |
Keywords: | Pending | Cc: |
Description
Whenever I insert a new image and set its custom size, CKEditor adds style="width: 1px; height: 1px;. When submitted, the style attribute is missing. If I manually change the code to width="1" and height="1" in source view, those attributes are kept.
Change History (2)
comment:1 Changed 15 years ago by
Component: | Core : Output Data → General |
---|---|
Keywords: | Pending added; html style width height removed |
comment:2 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
After many hours of trying to figure out what's wrong, I finally came across this line of code in one of our ColdFusion pages - <cf_cleanmsrubbish msrubbish="#Attributes.Content#">. This is what was removing the style/width/weight details.
WFM, could you provide an example to reproduce?