Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Multiexcerpt
hiddentrue
MultiExcerptNameFeature Overview

Edit, compare and view HTML/XML elements, JavaScript, CSS and Razor syntax easily in widgets, pages and templates with our code editor. 


...

In the CMS, the code editor lets you view and appears whenever users view or edit code for various purposes such as formatting adding content or adding script files. Code can Depending on function, code may be HTML/XML elements, JavaScript, CSS, and Razor syntax, . The code editor has features to make viewing and editing easier. Also, in Scripts and Styles where file history is always kept, you can bring up retained, e.g., Scripts and Styles, and Custom Widgets, a comparison tool is available so that two versions of a file can be compared side by side and use the comparison tool to check differences.

The code editor appears in various pages, widgets, custom widgets, and Scripts and Styles files.

.


Where you will find the code editor

Scripts & Styles

Javascript and CSS files

Image Modified

HTML source code view in the WYSIWYG content editor

Various pages and widgets

Image Modified


Custom widgets

Razor syntax

Image Modified

   

Code editor features


Feature
Code auto completion, content assist, and code hinting of JavaScript, CSS, HTML

Once a character is typed, any matching options are listed for selection. Auto completion attempts to guess what you are typing before you finish typing it. This can save typing time and help find the code you need.

Page thumbnail

On the right side, you get a small view (thumbnail) of the file or page contents. You can click on a part to quickly jump to that location. 

Syntax colourisationhighlighting

Text and coding are consistently coloured to help viewing and editing. to distinguish certain syntactic elements. This can make it easier to spot problems in your code.


Colour picker

Coding Code that calls for add a colour will display a small square. Hover over it to use the colour picker.

Side by side comparison tool

(In Scripts and Styles, and Custom Widgets)

Contents of two versions can be compared. Changes are highlighted in red. Newly added content or coding are highlighted in green. 

...

Content by Label
showLabelsfalse
max10
showSpacefalse
cqllabel = "scripts-styles"

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel = "content" and title ~ "WYSIWYG"

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel = "widget-custom"


Multiexcerpt
hiddentrue
MultiExcerptNamecode editor


Minimum Version Requirements


Multiexcerpt
MultiExcerptNameMinimum Version Requirements

--


Prerequisites


Multiexcerpt
MultiExcerptNamePre reqs

--


Self Configurable


Multiexcerpt
MultiExcerptNameSelf Configurable

Yes


Business Function


Multiexcerpt
MultiExcerptNameBusiness Function

Content


BPD Only?


Multiexcerpt
MultiExcerptNameBPD Only

Yes


B2B/B2C/Both


Multiexcerpt
MultiExcerptNameB2B/B2C/Both

Both


Third Party Costs


Multiexcerpt
MultiExcerptNameThird Party Costs

n/a