Open
Bug 1438737
Opened 6 years ago
Updated 2 years ago
styled-jsx and… stylesheet editor
Categories
(DevTools :: Style Editor, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: karlcow, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
373.79 KB,
image/png
|
Details |
This seems related to https://www.npmjs.com/package/styled-jsx 1. Go to this site https://www.techinasia.com/events 2. Open the devtools to the stylesheet editor. 3. Click on any inline CSS Actual: Difficult to use anything in there. Pull out a tissue and cry Expected: Not sure what is doable
Comment 1•6 years ago
|
||
There's a number of <style> elements in this page that come with a source map URI. So, by default, the Style Editor uses these source maps to show the original code. So, the tool is doing the right thing, but it's not useful to you. I think you might want to click on the cog icon at the top of the stylesheet list to the left, and uncheck the "show original sources" item. This way you'll see the actual CSS used on this page, not the original code that the developers deal with in their dev environment. Also, we should probably prevent CSS edition when showing original sources, because we do edit the code, we don't do anything interesting in this case (I think we used to have a thing were we attempted to save back to source file, and trigger the build step/source map generation step).
Severity: normal → enhancement
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Blocks: devtools-webcompat-team
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•