{"action":"closed","issue":{"url":"https://api.github.com/repos/froala/aurelia-froala-editor/issues/22","repository_url":"https://api.github.com/repos/froala/aurelia-froala-editor","labels_url":"https://api.github.com/repos/froala/aurelia-froala-editor/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/froala/aurelia-froala-editor/issues/22/comments","events_url":"https://api.github.com/repos/froala/aurelia-froala-editor/issues/22/events","html_url":"https://github.com/froala/aurelia-froala-editor/issues/22","id":177260193,"number":22,"title":"How to set up a global default config?","user":{"login":"m-andrew-albright","id":4950445,"avatar_url":"https://avatars.githubusercontent.com/u/4950445?v=3","gravatar_id":"","url":"https://api.github.com/users/m-andrew-albright","html_url":"https://github.com/m-andrew-albright","followers_url":"https://api.github.com/users/m-andrew-albright/followers","following_url":"https://api.github.com/users/m-andrew-albright/following{/other_user}","gists_url":"https://api.github.com/users/m-andrew-albright/gists{/gist_id}","starred_url":"https://api.github.com/users/m-andrew-albright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-andrew-albright/subscriptions","organizations_url":"https://api.github.com/users/m-andrew-albright/orgs","repos_url":"https://api.github.com/users/m-andrew-albright/repos","events_url":"https://api.github.com/users/m-andrew-albright/events{/privacy}","received_events_url":"https://api.github.com/users/m-andrew-albright/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T19:00:07Z","updated_at":"2016-10-28T15:30:42Z","closed_at":"2016-10-28T15:30:42Z","body":"In your examples, you show how to bind to a configuration like so: \r\n```\r\n<aurelia-froala value.two-way=\"value\"\r\n    config.bind=\"{\r\n        toolbarButtons: ['redo' , '|', 'fontFamily', '|', 'fontSize', '|', 'paragraphFormat', 'color', '|', 'bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript', 'outdent', 'indent', 'clearFormatting', 'insertTable', 'html'],\r\n        toolbarButtonsMD: ['redo' , '|', 'fontFamily', '|', 'fontSize', '|', 'paragraphFormat', 'color'],\r\n        toolbarButtonsSM: ['redo' , '|', 'fontFamily', '|', 'fontSize', '|', 'paragraphFormat', 'color'],\r\n        toolbarButtonsXS: ['redo' , '|', 'fontFamily', '|', 'fontSize', '|', 'paragraphFormat', 'color'],\r\n        fontFamilySelection: true,\r\n        fontSizeSelection: true\r\n    }\">\r\n</aurelia-froala>\r\n```\r\n\r\nLet's say I want this exact same config for each froala editor throughout my entire application.  Is there a way I can set this up in the plug-in configuration in main.js, or anywhere else?"}}
{"actor":{"display_login":"stefanneculai"}}