Skip to content
This repository

Fix: Stylesheets within options. #227

Open
hitchhiker opened this Issue · 0 comments

1 participant

Frank West
Frank West

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

..to 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.