Code Block

From Wiki openElement
(Redirected from Block of Code)
Jump to: navigation, search
Path: Elements / Interactivity / Code Block

Contents

Description

The Code Block allows users to insert custom HTML, PHP, JavaScript, and CSS code on a page in a specific location.

Adding a Code Block Element

Drag-and-Drop the element Code Block from the elements menu anywhere on the page.

Configuration

Dragging and dropping the element on the page will automatically open the "Code Block" window.

The Code Block configuration can be accessed from the editing pane by clicking on this icon Bloc code11.png located right below the element or via the elements and styles menu -> Properties.

Bloc code2.png

Bloc code3.png : Copy the selected code.
Bloc code4.png : Cut the selected code.
Bloc code5.png : Paste code to the block.
Bloc code6.png : Undo
Bloc code7.png : Redo
Bloc code8.png : Add a comment.
Bloc code9.png : Remove the selected comment.
Bloc code10.png : Structure the lines of code.
Mode : Select the coding language (HTML, CSS, PHP et JavaScript).
Styles : Change color scheme of the "Code Block" interface.

Personal tools
Namespaces

Variants
Views
Actions
openElement
Community
Toolbox