Supercharge your Setka posts with custom JS plugins. Implement your content sliders, image popups, accordions, tabs, and many more. Build JS plugins for your content any way you want.
Setka Editor provides various interactive elements to diversify your content and make it more engaging. It includes animations, galleries, hotspots, and footnotes. And we are always happy to add more to the package.
What are custom JS plugins
How it works
Load it to your server or send it to us to load on Setka CDN. The place to store your JS plugin is determined based on your integration type.
The plugin is then loaded to the Setka content pages. These plugin manipulates the content based on your described logic. The processes of launching the plugin on the page and uploading it to Setka CDN (if needed) are described below:
Loading a JS plugin to your Setka post
The JS plugin can be connected to the page by adding the corresponding data-* attribute into an HTML tag, in a form of:
The code that includes the plugin can be saved as a component. This way your users would be able to quickly add custom interactive elements to the post.
Where the JS plugin can be stored?
There are several ways of storing the plugin depending on the Setka Editor integration type.
If you are using a custom Setka Editor integration via API, you can upload the JS plugin on your own server where Setka Editor is running. This plugin should also be connected to article pages where the custom element is used.
Please create plugins with attention to code structure. Keep in mind, that plugins may interfere with the Setka Editor itself if built unsafely. Setka Support team would not be able to debug such modifications.
Default CMS integrations and Content Cloud
To enable your custom JS plugin for one of the default CMS integrations and/or in the Content Cloud, please contact our support team at [email protected] with the topic "Custom JS plugin application".
In the message, please:
Specify your company/account name.
Describe the functionality of the plugin.
Attach the JS file of the plugin.
We will verify the JS code of the plugin. If it complies with our requirements, it would be uploaded to your Setka account. Then you would be able to use it in your posts and components. We will reach out to you directly if any fixes or additional information is needed.