Skip to content

✅ 🐛 Editor V4 Global Classes Disappear After Page Refresh (Class Manager Not Retaining Styles) #31517

Description

@bussywales

Description

I’ve encountered a persistent issue with Elementor v4 (Alpha) where custom classes applied to elements—particularly buttons—disappear after refreshing or re-editing a published page. The styles vanish entirely, and the Class Manager no longer lists the saved classes.

This problem occurs consistently across multiple staging environments and setups. I have been troubleshooting this for over two weeks and can confirm it is not related to themes, plugins, or caching.

Steps to Reproduce:

Create a new class in the Class Manager (e.g. custom-button-style).

Apply the class to a button element.

Publish the page.

Refresh the page or exit and re-enter the Elementor editor.

Observe that:

    The class no longer appears on the element.

    The Class Manager no longer shows the class created.

Tested Scenarios (All Result in Same Issue):

Staging site from a live project, using Elementor Pro + Hello Biz theme → Issue occurs.

Created new staging site using the default Hello theme + v4 enabled → Issue occurs.

Built site from scratch using Hello theme + Developer Beta version of Elementor → Issue persists.

Fresh install with Hello Biz only, v4 Alpha enabled → Same result.

Final test: new site using only Hello theme and Elementor Pro, no additional plugins → Classes still disappear.

Expected Behaviour:
Custom classes should persist after publishing or refreshing the editor. The Class Manager should retain all created and applied classes.

Environment:

Elementor Pro (latest version)

Elementor v4 (Alpha) enabled

Themes tested: Hello, Hello Biz

Clean WP installations

Issue occurs even with no other plugins activated

Temporary Access for Inspection:
[REDACTED]

I hope this helps replicate the issue quickly. Please let me know if additional debugging details are needed.

Steps to reproduce

Create a new class in the Class Manager (e.g. custom-button-style).

Apply the class to a button element.

Publish the page.

Refresh the page or exit and re-enter the Elementor editor.

Observe that:

The class no longer appears on the element.

The Class Manager no longer shows the class created.

Tested Scenarios (All Result in Same Issue):

Staging site from a live project, using Elementor Pro + Hello Biz theme → Issue occurs.

Created new staging site using the default Hello theme + v4 enabled → Issue occurs.

Built site from scratch using Hello theme + Developer Beta version of Elementor → Issue persists.

Fresh install with Hello Biz only, v4 Alpha enabled → Same result.

Final test: new site using only Hello theme and Elementor Pro, no additional plugins → Classes still disappear.

Expected behavior

Expected Behaviour:
Custom classes should persist after publishing or refreshing the editor. The Class Manager should retain all created and applied classes.

Elementor System Info

Click to reveal
== Server Environment ==
	Operating System: Linux
	Software: Apache
	MySQL version: MariaDB Server v10.5.26
	PHP Version: 8.1.32
	PHP Memory Limit: 512M
	PHP Max Input Vars: 1000
	PHP Max Post Size: 256M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.8.1
	Site URL: https://xthetics.co.uk/aretehealth-2
	Home URL: https://xthetics.co.uk/aretehealth-2
	WP Multisite: No
	Max Upload Size: 100 MB
	Memory limit: 40M
	Max Memory limit: 512M
	Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
	Language: en_US
	Timezone: 0
	Debug Mode: Inactive

== Theme ==
	Name: Hello Elementor
	Version: 3.4.4
	Author: Elementor Team
	Child Theme: No

== User ==
	Role: administrator
	WP Profile lang: en-US
	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0

== Active Plugins ==
	Elementor
		Version: 3.29.2
		Author: Elementor.com

	Elementor Pro
		Version: 3.29.2
		Author: Elementor.com

	Temporary Login
		Version: 1.3.0
		Author: Elementor.com


== Elements Usage ==
	
	wp-post : 0
		e-div-block : 1
		e-heading : 2
	wp-page : 2
		container : 4
		e-button : 6
		e-flexbox : 21
		e-heading : 4
		e-paragraph : 5
		heading : 2
		text-editor : 1


== Settings ==
	
	cpt_support: post, page
	allow_tracking: yes
	font_display: swap


== Features ==
	Custom Fonts: 0
	Custom Icons: 0

== Integrations ==
	


== Elementor Experiments ==
	Inline Font Icons: Active
	Additional Custom Breakpoints: Active
	Container: Active
	Optimized Markup: Active
	Load Google Fonts locally: Active
	Default to New Theme Builder: Active
	Header & Footer: Active
	Nested Elements: Active
	Editor Top Bar: Active
	Pages Panel: Inactive by default
	Element Caching: Active
	Elementor Home Screen: Active by default
	Elementor Editor Events: Inactive by default
	Atomic Widgets: Active
	Editor V4: Active
	Global Classes: Active
	Variables: Inactive by default
	Launchpad Checklist: Active by default
	Cloud Templates: Active
	Editor v4 (Opt In Page): Active by default
	Menu: Active


== Log ==
	
PHP: showing 2 of 2PHP: 2025-06-16 09:26:10 [notice X 11][../elementor/includes/base/controls-stack.php::230] hexdec(): Passing null to parameter #1 ($hex_string) of type string is deprecated [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2025-06-16 12:08:16 [warning X 1][../elementor/modules/history/revisions-manager.php::363] Undefined array key "editor_post_id" [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

JS: showing 2 of 2JS: 2025-06-16 12:06:24 [error X 1][../elementor/assets/js/editor.min.js?ver=3.29.2:3:863878] elementor.getCurrentElement().model is undefined 
JS: 2025-06-16 12:08:16 [error X 1][../elementor/assets/js/packages/editor-documents/editor-documents.min.js?ver=3.29.2:1:2807] t is null 

Log: showing 6 of 62025-06-16 12:26:29 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor Pro',
  'from' => '3.29.1',
  'to' => '3.29.2',
)]
2025-06-16 12:26:30 [info] elementor-pro::elementor_pro_updater Started 
2025-06-16 12:26:31 [info] Elementor Pro/Upgrades - _on_each_version Start  
2025-06-16 12:26:31 [info] Elementor Pro/Upgrades - _on_each_version Finished 
2025-06-16 12:26:31 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor Pro',
  'from' => '3.29.1',
  'to' => '3.29.2',
)]
2025-06-16 12:26:32 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor Pro',
  'from' => '3.29.1',
  'to' => '3.29.2',
)]



== Elementor - Compatibility Tag ==
	
	Elementor Pro: Compatible

== Elementor Pro - Compatibility Tag ==

Agreement

  • I confirm I have read and followed all the guidelines and instructions outlined in the Editor V4 Bug Report form.
  • I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Editor V4 Bug Report form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.component/codeIndicates when a topic is related to a component’s code.component/v4/global-classesReferences the Global Class system component available with the Atomic Editor V4.mod*[Temp.] For internal use only.mod/b*[Temp.] For internal use only.mod/e*[Temp.] For internal use only.mod/v*[Temp.] For internal use only.product/editor-v4References any component and featured related to the Atomic Editor v4.solvedIndicates that an Issue has been Solved, or a Feature Request has been Released.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions