Support » Plugin: Editor Full Width Gutenberg » Too close to margin after recent Gutenberg update?

Viewing 2 replies - 1 through 2 (of 2 total)
  • julia82

    (@julia82)

    It happened also to me, stil don’t know how to fix it.

    • This reply was modified 1 year ago by julia82.

    Hey all
    Go into the wp-content/plugins/editor-full-width/gutenbergfullwidth.php

    Swap out the function editor_full_width_gutenberg() line 21 – 36 for the following.

      
    function editor_full_width_gutenberg() {
      echo '
      <style>
        .block-editor__container .wp-block {
            max-width: none !important;
        }
        
    	.editor-styles-wrapper {
    	    padding: 5% !important;
    	}    
    	
        /*code editor*/
        .edit-post-text-editor__body {
        	max-width: none !important;	
        	margin-left: 5%;
        	margin-right: 5%;
        }
      </style>';
    }
    
    

    Increase or decrease the 5% to meet your preference.

    It would be great if it was possible to have a setting in the plugin where you could add a padding % or px.

    Props to the dev for making this plugin which has helped out a lot. The narrow editor was driving me NUTS!!!

    • This reply was modified 10 months, 2 weeks ago by muzKore. Reason: syntax typo
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Too close to margin after recent Gutenberg update?’ is closed to new replies.