The official Setka plugin for Bitrix can be configured in two ways.
All the files are stored on your server by default. But you can change it in the plugin settings. This table represents where the files are stored, depending on settings:
Files
Stored by default
If Setka CDN is enabled
HTML code
Your server
Your server
CSS files of Setka styles and grids
Your server
Setka CDN
JS files of interactive elements
Your server
Setka CDN
Images
Your server
Your server
Setka Editor JS file
Your server
Setka CDN
Setka Editor module for Bitrix stores all the data on your server, unless you enable Connect Setka files from CDN in the module settings.
How to preserve your data
Prerequisites
Before you proceed further, check if Setka CDN is enabled in the module settings:
Go to Settings > Product settings > Module settings > Setka Editor.
Scroll down to the Connect Setka files from CDN checkmark.
If Connect Setka files from CDN ischecked — Setka CDN is enabled.
If Connect Setka files from CDN isunchecked — Setka CDN is disabled.
If Setka CDN is enabled
Step 1. Disable the module's connection with Setka CDN
Go to Settings > Product settings > Module settings > Setka Editor and uncheck the Connect Setka files from CDN checkmark. This will force the module to pull all the files from your server instead of Setka CDN.
Step 2. Pull the latest CSS and JS files to your server
In Settings > Product settings > Module settings > Setka Editor scroll down and click the Update styles from the Setka Style Manager button. This will download latest versions of files Setka Editor requires for the local operation.
Step 3. Replace asset URLs in posts
Check if your Setka posts use any assets, stored on Setka CDN:
Open the browser's developer tools (CMD+ALT+I on Mac OS or F12 on Windows).
Switch to the Network tab of developer tools.
Filter the list а files by ceditor.setka.io and reload the page. You will see the list of files loaded from Setka CDN. You will need to back them up:
Examine the asset's location in the Setka integration data.
Copy assets from Setka CDN to your own CDN. It is more convenient to copy the whole directory, keeping the paths.
Replace asset URLs in posts HTML from Setka CDN to your server. Since Setka keeps url structure it's enough to replace the beginning of the URL. For example https://ceditor.setka.io/clients/fYe3/css/assets/29778/img/icon.svg> -> https://your-domain.name/pub/media/setka_editor/clients/fYe3/css/assets/29778/img/icon.svg
During the process of uninstalling, Setka Editor will bring up instructions on how to link Setka styles and JS files to the core of your site. This will let Setka posts preserve their styling in absence of the Setka Editor module.
If Setka CDN is disabled
Step 1. Pull the latest CSS and JS files to your server
In Settings > Product settings > Module settings > Setka Editor scroll down and click the Update styles from the Setka Style Manager button. This will download latest versions of files Setka Editor requires for the local operation.
Step 2. Replace asset URLs in posts
Check if your Setka posts use any assets, stored on Setka CDN:
Open the browser's developer tools (CMD+ALT+I on Mac OS or F12 on Windows).
Switch to the Network tab of developer tools.
Filter the list а files by ceditor.setka.io and reload the page. You will see the list of files loaded from Setka CDN. You will need to back them up:
Examine the asset's location in the Setka integration data.
Copy assets from Setka CDN to your own CDN. It is more convenient to copy the whole directory, keeping the paths.
Replace asset URLs in posts HTML from Setka CDN to your server. Since Setka keeps url structure it's enough to replace the beginning of the URL. For example https://ceditor.setka.io/clients/fYe3/css/assets/29778/img/icon.svg> -> https://your-domain.name/pub/media/setka_editor/clients/fYe3/css/assets/29778/img/icon.svg
During the process of uninstalling, Setka Editor will bring up instructions on how to link Setka styles and JS files to the core of your site. This will let Setka posts preserve their styling in absence of the Setka Editor module.