Sha256: e1c2c2359377145bb852e6c38a67830dc8bcb87bcb04d556b91c2678fb3cf8fa

Contents?: true

Size: 630 Bytes

Versions: 3

Compression:

Stored size: 630 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

3 entries across 3 versions & 1 rubygems

Version Path
brightcontent-core-2.4.3 app/assets/javascripts/brightcontent/core.js
brightcontent-core-2.4.2 app/assets/javascripts/brightcontent/core.js
brightcontent-core-2.4.1 app/assets/javascripts/brightcontent/core.js