Initial sync — receiving Setka Editor files to connect them to your CMS
To get style and editor files configured in your account, make the following request with your license key:
Response sample:
Description for the received set of files:
File | URL | Description |
public_token | The Public key ( | |
plugins | https://ceditor.setka.io /public.v.1.2.3.js | Scripts to launch interactive elements of a post (animations and galleries) |
An array of files for the editor | ||
An array of files responsible for posts display. Includes a general style file and an editor config file | ||
An array of CSS files and rules for all the styles and grids of a company, created in the Style Manager |
Array of content_editor_files
Type | URL | Description |
CSS | https://ceditor.setka.io /company.v.1.2.3.min.css | editor interface style file |
JS | https://ceditor.setka.io /company.v.1.2.3.min.js | JavaScript of the Setka WYSIWYG Editor |
Array of theme_files
Type | URL | Description |
CSS | https://ceditor.setka.io /company.v.1.2.3.min.css | Rules for all the styles and grids of a company, created in Style Manager |
JSON | https://ceditor.setka.io /public.v.1.2.3.json | Required for a proper launch of the Setka Editor tool. Contains all the info on styles configured in Style Manager |
Array of standalone_styles
To have your post reflected correctly, enable 3 CSS-files from standalone_styles array of files:
File | URL | Description |
common | https://ceditor.setka.io /common_css/common_css_1.css | Common rules for Setka Editor styles |
themes | https://ceditor.setka.io/clients /company/css/1.css | A style for specific post |
layouts | https://ceditor.setka.io/clients /company/layout_option_builds/1/1.css | The layout grid used for your posts |
API request with additional parameters
To make an API request for the additional files, use an options parameter:
Response sample:
Description of a received array of files
File | URL | Description |
An array of files needed to reflect posts correctly on AMP pages | ||
icons | https://ceditor.setka.io/clients /company/css/assets /1/img/icon-name.png | Icons that are uploaded in your style. You should download these files only if the style is hosted on your server. Icons are downloaded via Setka CDN by default in General or Separated style files; no additional actions needed |
fonts | https://ceditor.setka.io/clients /company/css/assets /fonts/1/font-name.woff | Custom .woff fonts uploaded into your styles in the Style Manager. You should download these files only if the style is hosted on your server. Icons are downloaded via Setka CDN by default in General or Separated style files; no additional actions are needed. |
amp_styles array of files
File | URL | Description |
common | https://ceditor.setka.io /common_css/common_css_1_amp.css | Common rules for AMP pages styles |
themes | https://ceditor.setka.io /clients/company/theme_builds/1/2.css | A style for specific post |
layouts | https://ceditor.setka.io /clients/1/layout_option_builds/1/2.css | The grid layout used for your posts |
API request for specific arrays of files
To get the needed array of files, add a select parameter to your request, then enumerate these files separated by commas:
List of available files
File | Type | Description |
plugins | JS | Scripts that help running interactive elements of your posts |
content_editor_files | JS, CSS | JS and CSS editor files |
theme_files | JSON, CSS | JSON config file and a concatenated CSS file |
standalone_styles | CSS | Separate style files |
amp_styles | CSS | AMP styles |
fonts | WOFF | Custom fonts |
icons | PNG, SVG | Icons |
Last updated