Problem/Motivation

I would like to add selectize to an install profile, but selectize.js is not able to be whitelisted owing to license considerations, and in beta1 it is impossible to enable selectize unless you have downloaded the library. I think a better option would be to serve selectize from cdnjs.com by default, and then give site builders the option to serve from localhost after they have downloaded the library.

Proposed resolution

  • Change requirement severity to warning instead of error
  • Add support for loading selectize.js and selectize css files from external sources, and make that the default
  • Add a setting to the configuration page to enable serving the library from the local server
  • Change the variable to ensure that existing installations, which should have the library locally available, are not switched to using the CDN

Remaining tasks

  • Review needed

Comments

dnotes created an issue. See original summary.

dnotes’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new4.89 KB

Here is the patch. Hope you don't mind that I've gone crazy with your issue queue this evening; I'm planning to use this for some projects and need the patches online.