Skip to content

Fix: Stylesheets within options. #227

hitchhiker opened this Issue Mar 20, 2013 · 0 comments

1 participant


Needed to modify Wysihtml5.prototype / createEditor: function(options) get stylesheets to work:

var stylesheets = defaultOptions.stylesheets;
            if (options && options.stylesheets) {
                stylesheets = options.stylesheets;

var editor = new wysi.Editor(this.el.attr('id'), {
                toolbar: this.toolbar.attr('id'),
                parserRules: parserRules,
                stylesheets: stylesheets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.