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

Add clarification about importing css/scss files #61252

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

colorful-tones
Copy link
Member

@colorful-tones colorful-tones commented Apr 30, 2024

What?

Additional clarification in Block Editor Handbook / How-to Guides / Blocks / Use styles and stylesheets to remind folks that they will need to import './editor.scss' in their edit.js, etc.

I've forgotten and missed this rather obvious detail a few times. Also, I requested clarification on this yesterday, which inspired the follow up PR: #54491 (comment)

Why?

Trying to empower folks to understand and use standard approaches.

How?

Clarification in documentation

Preview changes here: https://github.com/WordPress/gutenberg/pull/61252/files#diff-5fa0fb78d92f47c4d5770f668b186c3c3ea593e5fdb2d2b2a8ce3d2f2c775c03

Copy link

github-actions bot commented Apr 30, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org>
Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
Co-authored-by: luminuu <luminuu@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@colorful-tones colorful-tones added the [Type] Developer Documentation Documentation for developers label Apr 30, 2024
@luminuu
Copy link
Member

luminuu commented Apr 30, 2024

Here's the issue that @juanmaguitar added based on my feedback in Slack recently, covering this topic: #61092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants