Skip to content

Comments

Use get_parent_theme_file_uri() to load editor stylesheet#16

Open
joeydi wants to merge 1 commit intoasuengineering:mainfrom
joeydi:editor-styles
Open

Use get_parent_theme_file_uri() to load editor stylesheet#16
joeydi wants to merge 1 commit intoasuengineering:mainfrom
joeydi:editor-styles

Conversation

@joeydi
Copy link

@joeydi joeydi commented Sep 5, 2024

This will ensure that if a child theme is in use, the parent pitchfork theme styles will be loaded in the editor.

By default, add_editor_style is relative to the active theme root, so if a child theme is in use, the pitchfork styles will not be loaded.

This will ensure that if a child theme is in use, the parent pitchfork theme styles will be loaded in the editor.

By default, add_editor_style is relative to the active theme root, so if a child theme is in use, the pitchfork styles will not be loaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant