Opened 14 years ago
Last modified 9 years ago
#7995 confirmed New Feature
IFrame dialog Style field in Advanced tab not reflecting values entered for Width & Height in General tab
Reported by: | Satya Minnekanti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.5 |
Keywords: | IBM | Cc: | Damian, Teresa Monahan |
Description
To reproduce the defect:
- Open CK Editor,click on IFrame icon to open IFrame Properties dialog.
- On General tab enter values for width(200)& Height(100) and click on Advanced tab.
Expected Result: Style field should have following values width: 200px; height: 100px;
Actual Result: Style field is empty.
Change History (8)
comment:1 Changed 14 years ago by
Keywords: | Discussion added |
---|---|
Type: | Bug → New Feature |
Version: | 3.6.1 (SVN - trunk) → 3.5 |
comment:2 Changed 14 years ago by
Same with the flash dialog, we should close this ticket as wontfix.
comment:3 Changed 14 years ago by
Apart from the dialog fields not being updated as described in the above steps, the placeholder for the iframe does not reflect the width and height set through the styles field on the advanced tab. This is a regression of #7158.
comment:4 Changed 14 years ago by
@tmonahan - it's a separate issue (#7933), as explained by Saare in comment:10. Not a recent regression, it was working this way since the beginning.
comment:5 Changed 14 years ago by
@wwalc - The usecase in #7158 no longer works even if the OK button is clicked when the user is on the General tab. Therefore I believe it is a different issue to #7933. In the usecase from #7158, the image placeholder never gets assigned width and height values from the styles field. When previewd, the actual iframe does get assigned the styles css values though.
comment:6 Changed 12 years ago by
I cannot reproduce the issue in ticket #7933 on 3.6.x trunk. Perhaps it has been indirectly fixed. However I can still reproduce the issue discussed in this ticket. This was previously fixed in changeset [6958] for ticket #7158 but the problem is occurring again. The width and height fields on the General tab are not synched with the styles field on the Advanced tab. Also width/height styles set through the Advanced tab are not reflected by the placeholder image.
comment:7 Changed 11 years ago by
Keywords: | Discussion removed |
---|---|
Status: | new → confirmed |
This is still happening in latest CKEditor 4.2. One style doesn't update other.
I was able to reproduce this problem from CKEditor 3.5 (when iframe plugin was introduced).
comment:8 Changed 9 years ago by
Summary: | IFrame dialog Style field on Advanced tab not reflecting values entered for width & height on General Tab → IFrame dialog Style field in Advanced tab not reflecting values entered for Width & Height in General tab |
---|
Unlike tables and images, the dimensions of iframe element are currently set using attributes.
Unless we start using also CSS styles for setting height and width of the iframe element, I don't think that filling the style field automatically is the right solution.
We have another ticket where a generic approach for this problem is discussed: #7958