Created
June 13, 2017 19:59
-
-
Save ValeriiVasyliev/8f2d16fabcd8b9ded1e09651d610f356 to your computer and use it in GitHub Desktop.
CKEditor add custom css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| $('.editor').each(function(e){ | |
| CKEDITOR.replace(this.id, { | |
| extraPlugins: 'stylesheetparser', | |
| contentsCss: ['/css/stylenew.css'], | |
| stylesSet: [], | |
| height: '700px', | |
| width: '700px', | |
| on: { | |
| 'instanceReady': function (evt) { evt.editor.execCommand('maximize'); } | |
| } | |
| }); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment