PUM_Admin_BlockEditor
Class: Class PUM_Admin_BlockEditor
Source: classes/Admin/BlockEditor.php:11
Class: Class PUM_Admin_BlockEditor
Source: classes/Admin/BlockEditor.php:11
Method: Initialize
Source: classes/Admin/BlockEditor.php:18
Method: Registers all block assets so that they can be enqueued through Gutenberg in the corresponding context.
Source: classes/Admin/BlockEditor.php:42
Method: Register assets for individual block styles
Source: classes/Admin/BlockEditor.php:89
Method: This is needed to resolve an issue with blocks that use the ServerSideRender component. Registering the attributes only in js can cause an error message to appear. Registering the attributes in PHP as well, seems to resolve the issue. Ideally, this bug will be fixed in the future.
Source: classes/Admin/BlockEditor.php:111