Global settings

Use 'Redactor.settings' before initializing an editor to set the settings for all editors on a website or page.


Code

<!-- elements -->
<textarea id="entry-1" class="entry">...</textarea>
<textarea id="entry-2" class="entry">...</textarea>

<!-- call -->
<script>
Redactor.settings = {
    image: {
        upload: '/your-path-to-upload/'
    }
};

let apps = Redactor('.entry');
</script>