CODE BLOCK VISUAL ISSUE |
Post Reply |
Author | |
musico
Newbie Joined: Dec 13 2017 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: Dec 13 2017 at 11:26am |
Hi,
when i embed an iframe code from external media having width and height parameters, OE only shows a little icon. Will be great if the code block (visual) generate his own frame according those dimensions in the iframe code. This will help in the design construction.
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
Hi,
Like any other element, you can size Code Block Visual as you need, using Properties or Style->Customize. For example, you can set its Width hand Height to "auto" (or set the Property "Sizing mode" to all auto, which is the same), so that the Code Block adapts automatically to its content, iframe in this case. |
|
musico
Newbie Joined: Dec 13 2017 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Hi,
This not apply in design window. is needed do it manually and the auto optión minimize the size and this is my comment, because the size is not adjusted in design to the iframe pasted. Is a double job
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
In editor mode you can't have the content of a Code Block running (except CSS Source Blocks if you enable this option).
What you can do is to put some fixed size for the Editor, then add a Code Block Source type CSS with the code: #WEyourBlockElementID { width: auto !important; height: auto !important; } This will only apply in browser, not in the editor. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |