Sha256: 583c8397bd8de94f3be35023fa45062071cca4d91e376f09a229cae54c289582

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

//= require bootstrap-wysihtml5
//= require brightcontent/wysithtml5-parser-rules
//= require bootstrap-wysihtml5/locales/nl-NL

$(function() {
  var editorLocale = $('body').data('editorLocale');

  $('[data-wysihtml5]').wysihtml5({
    html: true,
    locale: editorLocale,
    parserRules: wysihtml5ParserRules,
    events: {
      load: function() {
        var editor = $("#insertable").data("wysihtml5").editor;
        editor.focus();
      }
    }
  });

  $('[data-behaviour~=datepicker]').datetimepicker(pickTime: false, language: 'nl')
  $('[data-behaviour~=datetimepicker]').datetimepicker(language: 'nl')
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brightcontent-core-2.4.0 app/assets/javascripts/brightcontent/core.js