Skip to content

Commit

Permalink
Merge pull request #777 from slidewiki/SWIK-2081---Differences-in-spa…
Browse files Browse the repository at this point in the history
…cing-when-editing-and-when-the-slide-is-saved

Put space HTML character in empty blocks to have view and edit the same
  • Loading branch information
kadevgraaf authored Feb 27, 2018
2 parents a7d9513 + 24a0d8b commit b301100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ckeditor_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CKEDITOR.editorConfig = function( config ) {

// Set the most common block elements.
config.format_tags = 'p;h3;h4;h5;pre';
config.fillEmptyBlocks = false;
config.fillEmptyBlocks = true; //emptyblocks need to have space to prevent difference slide edit and slide view mode
config.enterMode = CKEDITOR.ENTER_DIV;
config.resize_enabled = false;
config.disableObjectResizing = true;
Expand Down

0 comments on commit b301100

Please sign in to comment.