• Resolved raydale

    (@raydale)


    Hi and thank you for an extremely well thought through approach to extending Gutenberg!

    I have some suggestions regarding the CSS output (mentioned in my review). Please, please, please can we minify the CSS output or at least have an option to do so?

    Further down the line I would also love to see an option to include the generated CSS as an external file too. It just allows more options when trying to optimise the pages.

    I do have a question in whether we can achieve the above with caching plugins in the interim? Or, does that require EditorPlus to support those caching plugins?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Munir Kamal

    (@munirkamal)

    Hi @raydale

    I definitely has plan to optimize the generated CSS code.

    I am just keeping a focus right now to add the missing features that I think would make creating great layouts in Gutenberg easier. I was also been looking forward to WP5.5 as it includes many API updates.

    Rest assured I have a commitment to this plugin as this is also a required plugin for the Templates & blocks library at GutenbergHub.com

    Not sure if I get your cache point clearly?

    Thread Starter raydale

    (@raydale)

    Thanks for the speedy response @munirkamal.

    I can completely understand that. The better optimised CSS output can wait. You already offer a pretty full feature-set, though I’m sure I can make some helpful suggestions in that regard soon.

    In regards to the question about caching: I was wondering if it was possible to optimise the CSS as per my request via any particular caching plugins you’re aware of? I’ve tried a couple but they seem to ignore the generated CSS from EditorPlus when calculating what to minify and render in an external stylesheet.

    Plugin Author Munir Kamal

    (@munirkamal)

    Hi @raydale

    Please test the latest version for optimized CSS code and Static CSS file generation option under the “Advanced” tab.

    https://share.getcloudapp.com/bLuR9bEp

    let me know.

    Regards,
    Munir

    Thread Starter raydale

    (@raydale)

    Hello @munirkamal,

    Great work, thank you for the update. I have tested on a couple of local installs and it’s working really well as far as I can see.

    It would be good to have an option of including the static CSS file in the head, but it’s definitely one for the ‘future’ list.

    Plugin Author Munir Kamal

    (@munirkamal)

    Hi @raydale

    Sounds good. Why would you want to enqueue it in the head? The reason to enqueue in the end/footer is to make sure that the custom styles applied to the page without making use of “important” option excessively from the editor plus styling options.

    Anyway, I am marking this ticket as resolved now.

    Regards,
    Munir

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS Output Requests’ is closed to new replies.