BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> Suggestion Box
  New Posts New Posts RSS Feed - CODE BLOCK VISUAL ISSUE
  FAQ FAQ  Forum Search   Register Register  Login Login

CODE BLOCK VISUAL ISSUE

 Post Reply Post Reply
Author
Message
musico View Drop Down
Newbie
Newbie


Joined: Dec 13 2017
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote musico Quote  Post ReplyReply Direct Link To This Post Topic: CODE BLOCK VISUAL ISSUE
    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.
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (1) Thanks(1)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Dec 13 2017 at 3:00pm
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.
Back to Top
musico View Drop Down
Newbie
Newbie


Joined: Dec 13 2017
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote musico Quote  Post ReplyReply Direct Link To This Post Posted: Dec 13 2017 at 7:03pm
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
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Dec 13 2017 at 8:49pm
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.