OpenTiny Skin options

There are two options for applying a skin to OpenTiny: skin and skin_url. Tiny recommends using the skin option for skins bundled with the product or included in your cloud subscription. Custom or third-party skins should be included using the skin_url option to simplify updating and upgrading OpenTiny.

skin

This option allows you to specify the skin that OpenTiny should use, or false to not load a skin. The default skin included with OpenTiny is named "oxide".

Type: String or Boolean

Default value: 'oxide'

Possible values: the name of a skin or false

The name of the skin should match the name of the folder within the skins directory of OpenTiny. If the specified skin is not found, OpenTiny will not load.

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  skin: 'oxide'
});

If you would like to create your own skin, please see the guide here.

skin_url

If you are using OpenTiny skins, this option enables you to specify the location of the skin directory. This is useful if you are loading OpenTiny from one URL, for example a CDN, while loading a skin on, say, a local server.

Type: String

Example: using skin_url

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  skin_url: '/css/myopentinyskin'
});