alloy editor
  • Docs
  • Updates
  • Develop
    • About
    • Build it
    • Create
    • Create Buttons
    • Create Skins
    • Create Toolbars
    • Create entirely new UI
  • Use
    • Basic use
    • How to use it?
    • Creating a React component
    • How to use CKEditor Plugins?
    • Editor Configuration
    • Toolbar configuration
    • Button configuration
    • Read only mode
    • Skins
  • Features
    • Quote
    • Bold
    • Code
    • Horizontal Line
    • Heading 1
    • Image Alignment - Center
    • Heading 2
    • Image
    • Image Alignment - Left
    • Image Alignment - Right
    • Indent and outdent block content
    • Link
    • Link AutoComplete
    • Italic
    • Text Alignment - Centered
    • Text Alignment - Left
    • Text Alignment - Justified
    • Camera
    • Strike
    • Remove Format
    • Text Alignment - Right
    • Styles
    • Superscript
    • Subscript
    • Table
    • Table - Cells
    • Table - Columns
    • Lists (Numbered)
    • Table - Heading
    • Table - Remove
    • Table - Rows
    • Underline
    • Twitter
    • Lists (Bulleted)

Skins

Skins in AlloyEditor are a very powerful feature that allows you to seamlessly integrate the editor inside your app.

Skin Architecture

AlloyEditor skins are organized according to these principles:

Variables

Style values are parameterized as much as possible. This allows skins to fully extend others just by changing a small set of variable values.

Components

A skin is created by combining one or more components together. Different skins may use different components, so irrelevant styling can be easily stripped out.

Structure vs Skin

Styling is separated into structure and skin. Structure represents everything that affects the sizing and position of the elements, while skin represents all the purely cosmetic changes.

Skins Overview

You can use these skins out of the box:

Ocean (default)
Atlas
  <link href="alloy-editor/assets/alloy-editor-atlas-min.css" rel="stylesheet">
Moono
  <link href="alloy-editor/assets/alloy-editor-moono-min.css" rel="stylesheet">

Liferay.com