• Resolved landwire

    (@landwire)


    Hi there,
    thank you for a great plugin. It is very feature rich!

    However what I recently realised is when I disable the plugin I can still find a lot of classes like “editorskit-no-tablet editorskit-no-mobile” inside the blocks. Would it be possible to clean those up when the plugin gets deactivated? It is a bit annoying that those classes are still kicking about and are not being used…

    Thanks,
    Sascha

Viewing 4 replies - 1 through 4 (of 4 total)
  • Personally, I don’t think classes should be cleared on deactivation. Upon removal, yes, or at least as an option, but if I deactivate any plugin I still want posts that have used it in the past to display as they used to.

    Douglas.

    @landwire Thanks a lot for the suggestion. Unfortunately, the classes were retain after deactivation to avoid block error. Thanks again!

    Thread Starter landwire

    (@landwire)

    Ok, thanks! People could end up with a lot of classes in their content if they try a lot of plugins out though. But I understand that block validation is more important.

    You’re right in the number of classes, and even worse, the number of different CSS and JS files to be loaded. Often for every web page regardless of whether they are made use of.

    If you don’t have a test WordPress site, I recommend trying out different plugins/blocks on private test pages only. Then only start using them on ‘real’ posts once you are convinced that they are

    1. Good for the purpose you want;
    2. Don’t clog up and slow down your site too much;
    3. Are better than any competition;
    4. Are really necessary (between Editors Kit and WP Design Hub most of them are redundant);
    5. Are likely to be supported into the foreseeable future, as WordPress keeps updating.

    I’ve learnt the hard way that to delve excitedly into all the goodies available is a route to disaster. Now I am much more careful about what I add in to the site!

    Douglas.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cleanup after deactivation?’ is closed to new replies.