troylutton / ckeditor

CkEditor plugins
MIT License
5 stars 13 forks source link

Initialisation's panel CSS declaration doesn't take account of potential array format of `editor.config.contentsCss` #3

Closed barneycarroll closed 7 years ago

barneycarroll commented 7 years ago

The CKEditor API & guide specify that contentsCss can be either a string or an array (overloaded APIs are bad :/), but placeholder_select's initialisation script assumes it is always a single string. Thus when richCombo reads panel.css it coerces the first value to a string, which ends results in a link whose href is a comma-separated list of all user-set stylesheet URIs.