Bootstrap carousel

This example shows how Bootstrap Carousel work in Article. You can see the carousel already added to the content and edit it, as well as click the add button to open the addbar and insert the carousel.


<!DOCTYPE html>
    <title>Article Editor</title>
    <meta charset="utf-8">

    <!-- css -->
    <link rel="stylesheet" href="/your-article-dist-path/article-editor.min.css" />

    <!-- carousel plugin css -->
    <link rel="stylesheet" href="/your-article-dist-path/plugins/carousel/carousel.min.css">
    <!-- element -->
    <textarea id="entry">

    <!-- js -->
    <script src="/your-article-dist-path/article-editor.min.js"></script>

    <!-- carousel custom block -->
    <script src="/your-article-dist-path/blocks/"></script>

    <!-- carousel plugin js -->
    <script src="/your-article-dist-path/plugins/carousel/carousel.min.js"></script>

    <!-- call -->
    ArticleEditor('#entry', {
        plugins: ['carousel'],
        css: ['/your-article-dist-path/arx-frame.min.css'],
        custom: {
            css: ['/path-to-bootstrap/bootstrap.min.css'],
            js: [
        carousel: {
            upload: '/image-uploader-path/',
            select: '/path-to-images/images.json'


Bootstrap Carousel requires the creation of a custom block and a plugin to add and edit the carousel.

Uploading images for carousel works on the same principles as regular image upload:

carousel: {
    upload: '/image-uploader-path/',
    select: '/path-to-images/images.json'