Support » Plugin: Classic Editor Addon » Request for clarity – Woocommerce style

  • Resolved KoolPal

    (@koolpal)


    Hi,

    I use Woocommerce and I was a bit confused by this statement in this plugin’s description

    Sites running WooCommerce get another style added to the <head> section of the site. With the Classic Editor Addon installed that call is obviously redundant.

    Can you provide some sample code / screenshot of this style?

    Do you mean that another style added to the <head> is REMOVED by Classic Editor Addon? Or is it that another style added to the <head> is made redundant BECAUSE of Classic Editor Addon?

    I hope you are able to understand my confusion. I wish to understand the benefits of a plugin completely.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pieter

    (@senlin)

    Hi,

    Can you provide some sample code / screenshot of this style?

    Sure, here you go:

    https://monosnap.com/file/GcKATSo1P2i38dZ5mPaLKd6RGPfDV5

    • This reply was modified 11 months, 3 weeks ago by Pieter.
    • This reply was modified 11 months, 3 weeks ago by Yui.
    Thread Starter KoolPal

    (@koolpal)

    Hi,

    Thank you for the sample.

    Now about

    Do you mean that another style added to the <head> is REMOVED by Classic Editor Addon? Or is it that another style added to the <head> is made redundant BECAUSE of Classic Editor Addon?

    Please clarify.

    Thanks

    Plugin Author Pieter

    (@senlin)

    Do you mean that another style added to the <head> is REMOVED by Classic Editor Addon?

    Yes, that is exactly what the Classic Editor Addon takes care of.

    It removes the added styling for the block editor as is described in the sentence following the description you quoted (emphasis mine):

    “Sites running WooCommerce get another style added to the <head> section of the site. With the Classic Editor Addon installed that call is obviously redundant. With version 2.5.0 we introduce a condition that checks for WooCommerce and if active it removes that call. Win!

    Of course it should be expected that the main Classic Editor plugin would do this in the first place, so my plugin would not be necessary, but the people behind the former are the very same that added the horrible block editor to WP. Anyways, that is probably a topic for a different discussion altogether.

    Hope it is clear now.

    Thread Starter KoolPal

    (@koolpal)

    @senlin

    Thank you! Makes sense now.

    Stay safe!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Request for clarity – Woocommerce style’ is closed to new replies.