Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support editor styles #35

Closed
kadamwhite opened this issue Jul 20, 2021 · 1 comment
Closed

Support editor styles #35

kadamwhite opened this issue Jul 20, 2021 · 1 comment

Comments

@kadamwhite
Copy link
Collaborator

It's a bit of a dance to get editor styles enqueued via Asset_Loader -- should be a single top-level command, ideally.

	$editor_stylesheet = Asset_Loader\Manifest\get_manifest_resource(
		get_theme_file_path( 'dist/production-asset-manifest.json' ),
		'tetramino.css'
	);

	add_editor_style( "dist/$editor_stylesheet" );
@kadamwhite
Copy link
Collaborator Author

Merging with #32

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

No branches or pull requests

1 participant