Print Page | Close Window

CODE BLOCK VISUAL ISSUE

Printed From: openElement Website
Category:

openElement


Forum Name: Suggestion Box
Forum Description: Suggest features and other ideas for future versions of the openElement software
Please do not post support questions in this section.
URL: https://forums.openelement.uk/en/forum_posts.asp?TID=1282
Printed Date: Mar 28 2024 at 6:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CODE BLOCK VISUAL ISSUE
Posted By: musico
Subject: CODE BLOCK VISUAL ISSUE
Date 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.



Replies:
Posted By: Dmit OE
Date 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.


Posted By: musico
Date 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


Posted By: Dmit OE
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net