Sha256: 8d193db63eb9edc847b661d034e1d1f88a980ced53a0fe1a0727977ad4037918

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 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();
      }
    }
  });
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brightcontent-core-2.3.4 app/assets/javascripts/brightcontent/core.js
brightcontent-core-2.3.3 app/assets/javascripts/brightcontent/core.js