Skip to content

Commit

Permalink
Slightly random config change that seems to fix a weird CKEditor glitch.
Browse files Browse the repository at this point in the history
  • Loading branch information
denny committed Mar 4, 2016
1 parent 1d68d73 commit b4fd04f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/static/ckeditor/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ CKEDITOR.editorConfig = function( config ) {
config.filebrowserImageUploadUrl = '/admin/filemanager/upload/images';
config.filebrowserWindowWidth = '800';
config.filebrowserWindowHeight = '600';

// This seems to stop h2 being turned into p tags although we have no idea why
config.allowedContent = true;
};

0 comments on commit b4fd04f

Please sign in to comment.