Searching the editor source code: https://github.com/WordPress/gutenberg does not show much results. I suggest search the theme source code these classes to see where they are applied. (If you press . while viewing the code on github you will get a VSCode editor)
register_block_type is used to add the block date in WordPress. Typically with these arguments:
register_block_type( 'custom-plugin/custom-block', array(
'editor_script' => 'editor-script.js',
'editor_style' => 'editor-style.css',
'style' => 'frontend.css',
) );
editor_script and editor_style add files to editor admin. style is meant to add CSS to frontend.
What documentation does not mention is that style is also loaded in backend. So it is possible those theme are using one file for bother backend and frontend to minimize the code they write.
Related Posts:
- Are there Gutenberg container blocks?
- show classes as dropdown in guttenberg`s additional css classes input box
- Style new block-editor alignfull class without scrollbars or overflow
- What CSS rules are introduced to core blocks through wp-block-styles?
- Gutenberg Block Editor Match Admin Styles & Frontend Styles
- If I dequeue Gutenberg Stylesheet will that have any effect on WordPress 5.0.1?
- is it possible to use post-type as part of a css selector in block editor stylesheet?
- Remove WordPress/Gutenberg button styles for ACF blocks
- Gutenberg Additional CSS Class without modifying theme?
- How to override Gutenberg admin CSS
- Different css rules for TinyMCE and Gutenberg while using add_editor_style()
- Can you edit WP gutenberg block css without a plugin?
- How to stop Gutenberg from outputting inline CSS for specific blocks?
- Enqueue styles in new site editor in WordPress 5.9
- create bootstrap columns inside editor group block
- Add Custom Alignment Option to WordPress Blocks/Gutenberg
- Simple way to add custom class and ids to individual Gutenberg blocks
- The Global Styles missing
- ACF Gut block broke wordpress default style?
- Scroll code block instead of wrapping text
- Default paragraph block styles just for pages NOT for posts?
- Custom CSS in Widget editor (Gutenberg) gets stripped out
- Custom Gutenberg color classes naming convention
- Adding a new block editor color option to a theme
- Stop custom Gutenberg styles taking over other admin bits?
- Why can’t blocks be hidden with jQuery?
- Gutenberg CSS Issue
- Trying to make an image a circle in Gutenberg
- What is the cleanest way to shrink Gutenberg Blocks to container width?
- Gutenberg Editor: display error with a combination of transform and background-attachment:fixed
- Default Gutenberg CSS on frontend
- Customizing the CSS for the post/page editor?
- Images at the same vertical position in multiple columns
- How do I make my block-editor styles match my front-end styles?
- Dequeue classic-themes.min.css
- How can I add a section with a different background color?
- Narrow paragraph block aligned to left of “wrapper”
- adding additional css classes have no effect within block editor
- How do I change search input padding for blockbase child theme?
- Insert a group block inside a list item
- Full Site Editing Non-editble global styles?
- Block content rendered with inline CSS. How do I reuse it in a headless setup?
- How to add arbitrary custom CSS to a WordPress Block Theme using Site Editor?
- How to remove class=”wp-block-heading” from Heading tags?
- Gutenberg: where to find style settings
- Custom block style not working in the editor
- Customize margin between paragraphs using the Gutenberg Style editor
- Style priority in theme.json
- How to add a class to a core block in both admin editor and frontend?
- How to force Gutenberg to follow all custom CSS styling in preview?
- Disable WP-Elements Class Creation (Gutenberg)
- Block editor: can’t change format of inline code blocks
- grid overlapping problem
- CSS Selector to override default theme.json custom properties in theme stylesheet
- Is there a CSS parent selector?
- How do I hide the bullets on my list for the sidebar?
- How to change the background colour’s opacity in CSS
- difference between css height : 100% vs height : auto
- Using margin / padding to space span tag from the rest of the p tag
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- Style something only on the home page
- How do I register/enqueue a custom CSS file?
- PageLines theme: how to change the background color of the main content vs. entire page?
- Changing CSS in Twenty Eleven to change font size of body text
- Deregister CSS style link ‘open-sans-css’
- @wordpress/create-block image url in css
- Remove id attribute from stylesheet link
- Font embedding in wordpress
- How to Add Custom CSS to the Media Thickbox?
- Does costum code in the root folder get lost when wordpress is updated?
- WordPress Light/Dark Theme best practices? Is there a way that really works?
- wp_add_inline_style breaking style and not working
- Change background color of subpages
- How to fix this error? [closed]
- How to make WordPress using local CSS/Fonts/Scripts only
- How to know which order WordPress places CSS files?
- Placing background image over section divider
- WordPress CSS problems with controls
- Remove CSS & JS from
- Aligning line made with CSS [closed]
- Earlier stylesheet not overriding later one
- Overwriting forced wordpress CSS styles [closed]
- W3TotalCache and Javascript — what should go where, when?
- CSS not being applied
- Help with a little CSS logo/header modification?
- WordPress sidebar content moving to bottom of page
- custom template display 3 columns
- Inclution place of CSS file
- Blog page and the Home page showing the same content
- How to change the width of certain paragraph or header blocks?
- How to Compress Css/js code in wordpress and increase loading speed?
- WordPress site using unknown overriding css
- Header formatting works for safari but not chrome @media screen size technique on iphone
- Adding a css style to the main nav menu in child pages
- Adding custom css to a theme depending on whether the admin user is logged in or not
- Adjusting post width according to the image size
- Background tiles not working in iPad2 but ok everywhere else
- Twenty Fourteen responsive CSS
- How do I add custom CSS animations for specific Gutenberg blocks?
- Input is cut off in text field after a random threshold