The code editor is used for entering or editing HTML, Javascript, CSS or Razor syntax in pages, widgets, custom widgets, and scripts and styles files. In places where file history is kept, there is a compare tool you can use to look at the differences in two file versions.
Where code editing is done |
---|
Scripts & Styles |
WYSIWYG editor |
Pages and widgets |
Custom widgets |
Features of the Code editor
Apart from the usual text editing functions, here are some helpful features.
Feature | |
---|---|
Compare tool | |
Code map | |
Auto-completion | |
Colour coding | You can add a <code> tag to signal that a chunk of text is (programming) code. It renders as a particular styling recognised by browers. Highlight text and go to Format → Code. |
Related help