• Resolved WPpress

    (@pikachuchu)


    Hi,

    I tried adding a class for a block and save the changes but the class is not being saved, the class was removed from the textbox.

    Scenario: I Add a class to a block > Save > I reload the page > The class was not added.

    OnPaste.20211006-190712

    Can you please check. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @pikachuchu – I’ve tested this locally and am unable to see the same result.

    Can you share a bit more info? Which blocks are you adding the classes to? What theme and other plugins do you have active?

    Also, can you confirm that the classes not saving only occurs when EditorsKit is enabled?

    Thanks!
    Chris

    Thread Starter WPpress

    (@pikachuchu)

    This applies to all blocks. I am using generatepress theme.

    Also, can you confirm that the classes not saving only occurs when EditorsKit is enabled? Yes, tried disabling it and the issue is gone.

    But we found the solution, Simply adding the class and saving it will not work. You need to press the enter key after adding the class so that it will be picked up.

    OnPaste.20211007-113944

    Thanks.

    You need to press the enter key after adding the class so that it will be picked up.

    Yes, this is correct. Thanks for following up!

    Gloria Liuni

    (@glorialchemica)

    hi @pikachuchu,
    thank you for sharing your solution.
    I have the same problem and didn’t know how to solve it.

    Your contribution was invaluable.
    Have a nice day

    Plugin Author Munir Kamal

    (@munirkamal)

    You may also disable this feature (or any other) if you don’t like to use it.

    Here is how:
    https://share.getcloudapp.com/lluk9oRQ

    Hope this helps.

    Gloria Liuni

    (@glorialchemica)

    Hi @munirkamal,
    perfect! Thank you so much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Additional CSS Class is not saved’ is closed to new replies.