Sha256: b1eaf3c311858c676b46272cea3282c1b4274ab7870e0ab80540700a93080311
Contents?: true
Size: 405 Bytes
Versions: 4
Compression:
Stored size: 405 Bytes
Contents
class Admin.Views.Wysiwyg extends Backbone.View el: 'body' textarea: '.wysiwyg' initialize: (options) => editor = new wysihtml5.Editor "wysihtml5-textarea", #textarea-id toolbar: "wysihtml5-toolbar" # id of toolbar element parserRules: wysihtml5ParserRules # defined in parser rules set stylesheets: [ WYSIWYG_BASE_STYLES, WYSIWYG_CUSTOM_STYLES ] # defined in admin.html.erb
Version data entries
4 entries across 4 versions & 1 rubygems