Sha256: c05c4bc24ea549f9354bbe516adc262385028bd6bcc0b775c5955b84949ec7a0

Contents?: true

Size: 556 Bytes

Versions: 12

Compression:

Stored size: 556 Bytes

Contents

$(function () {
    // Pass authenticity_token
    var params = '[name="authenticity_token"]';
    // Set global settings
    $.Redactor.settings = {
        //plugins: ['source', 'fullscreen', 'textdirection', 'clips'],
        imageUpload: '/redactor3_rails/images',
        imageManagerJson: '/redactor3_rails/images',
        imageUploadFields: params,
        fileUpload: '/redactor3_rails/files',
        fileManagerJson: '/redactor3_rails/files',
        fileUploadFields: params
    };
    // Initialize Redactor
    $('.redactor').redactor();
});

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
redactor3_rails-0.1.5 vendor/assets/javascripts/redactor3_rails/config.js
redactor3_rails-0.1.5 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.4 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.4 vendor/assets/javascripts/redactor3_rails/config.js
redactor3_rails-0.1.3 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.3 vendor/assets/javascripts/redactor3_rails/config.js
redactor3_rails-0.1.2 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.2 vendor/assets/javascripts/redactor3_rails/config.js
redactor3_rails-0.1.1 vendor/assets/javascripts/redactor3_rails/config.js
redactor3_rails-0.1.1 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.0 lib/generators/redactor3/templates/config.js
redactor3_rails-0.1.0 vendor/assets/javascripts/redactor3_rails/config.js