{"action":"closed","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/2325","repository_url":"https://api.github.com/repos/ckeditor/ckeditor-dev","labels_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/2325/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/2325/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/2325/events","html_url":"https://github.com/ckeditor/ckeditor-dev/issues/2325","id":351818014,"node_id":"MDU6SXNzdWUzNTE4MTgwMTQ=","number":2325,"title":"Adding local plugins to CKEditor4 full version","user":{"login":"moatasem1","id":22029917,"node_id":"MDQ6VXNlcjIyMDI5OTE3","avatar_url":"https://avatars1.githubusercontent.com/u/22029917?v=4","gravatar_id":"","url":"https://api.github.com/users/moatasem1","html_url":"https://github.com/moatasem1","followers_url":"https://api.github.com/users/moatasem1/followers","following_url":"https://api.github.com/users/moatasem1/following{/other_user}","gists_url":"https://api.github.com/users/moatasem1/gists{/gist_id}","starred_url":"https://api.github.com/users/moatasem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moatasem1/subscriptions","organizations_url":"https://api.github.com/users/moatasem1/orgs","repos_url":"https://api.github.com/users/moatasem1/repos","events_url":"https://api.github.com/users/moatasem1/events{/privacy}","received_events_url":"https://api.github.com/users/moatasem1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-18T12:49:53Z","updated_at":"2018-08-18T14:58:08Z","closed_at":"2018-08-18T14:58:08Z","author_association":"NONE","body":"I'm using CKEditor4 full version using a CDN:\r\n`<script src=\"//cdn.ckeditor.com/4.10.0/full/ckeditor.js\"></script>`\r\nI'm trying to add local plugins that I downloaded:\r\n```\r\nCKEDITOR.plugins.addExternal( 'simplebutton', '//localhost/plugins/simplebutton', 'plugin.js' );\r\nCKEDITOR.replace( 'editor', {\r\n    extraPlugins: 'simplebutton',\r\n    toolbar: [\r\n        { name: 'simplebutton', items: [ 'simplebutton' ] }\r\n    ]\r\n});\r\n```\r\nBut I get the following errors:\r\n`Uncaught SyntaxError: Unexpected token <          ?t=I63Cplugin.js:1`\r\n```\r\nckeditor.js:264 Uncaught TypeError: Cannot read property 'icons' of null\r\n    at CKEDITOR.resourceManager.<anonymous> (ckeditor.js:264)\r\n    at CKEDITOR.resourceManager.<anonymous> (ckeditor.js:263)\r\n    at e (ckeditor.js:258)\r\n    at Array.y (ckeditor.js:258)\r\n    at v (ckeditor.js:258)\r\n    at ckeditor.js:259\r\n```\r\n\r\nEven if I don't include the toolbar part and just include  `extraPlugins: 'simplebutton'`\r\n\r\nI get the same error.\r\n\r\n         "}}
{"actor":{"display_login":"mlewand"}}