• Resolved worldsdream

    (@worldsdream)


    Hi Jeff,

    I can see that you added in V2.6:

    Adds option to disable the Prismatic block stylesheet

    So I did disable it, and it doesn’t load anymore. But will this cause any harm for the front-end?

    When I look at the file, it’s this:

    /* Prismatic - Block Styles */
    
    .block-editor .block-editor-plain-text.wp-block-prismatic-blocks[style] {
    	padding: 20px; line-height: 22px; font-size: 14px; font-family: Menlo, Consolas, Monaco, monospace; 
    	white-space: pre; resize: vertical !important; overflow-x: auto !important; overflow-y: hidden !important; 
    	-webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none;
    	-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;
    	-ms-word-break: normal; word-break: normal;
    	-webkit-overflow-scrolling: touch;
    	}

    Hopefully you can tell me what it does, or if it’s okay to disable it, or what we should test after we disable it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hey @worldsdream, glad to help. The block stylesheet adds CSS for displaying blocks. It’s fine to disable if you are not using any block stuff. Otherwise if you are using blocks, may want to leave it enabled.

    Thread Starter worldsdream

    (@worldsdream)

    Ok, thanks @specialk.

    I disabled and enabled it and couldn’t find any changes on the front end. Everything looks the same.

    I am using the code block editor and not the classic editor. That’s why I wanted to double-check, as I couldn’t see any difference.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Prismatic block stylesheet’ is closed to new replies.