Code Block
m (Admin moved page Block of Code to Code Block: Element renamed) |
Latest revision as of 22:10, 24 April 2013
Contents |
[edit] Description
The Code Block allows users to insert custom HTML, PHP, JavaScript, and CSS code on a page in a specific location.
[edit] Adding a Code Block Element
Drag-and-Drop the element Code Block from the elements menu anywhere on the page.
[edit] 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 located right below the element or via the elements and styles menu -> Properties.
: Copy the selected code.
: Cut the selected code.
: Paste code to the block.
: Undo
: Redo
: Add a comment.
: Remove the selected comment.
: Structure the lines of code.
Mode : Select the coding language (HTML, CSS, PHP et JavaScript).
Styles : Change color scheme of the "Code Block" interface.