Closed Bug 687700 Opened 8 years ago Closed 6 years ago

Style Editor should have context menus for the stylesheet list and the editor

Categories

(DevTools :: Style Editor, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cedricv, Unassigned)

References

(Blocks 1 open bug)

Details

- Basic editor actions (cut/copy/paste)
- Revert to original
- Disable editor transitions
Context menus would also be nice to have for color ("lighten", "darken", "convert to rgb/hsl" etc.), sizes ("higher", "lower", "convert to em/px/etc."), or other elements. For this, we'll require to know the line caret offset in the editor after click (before the context menu opens). msucan, thoughts?
Assignee: nobody → vporof
Component: Developer Tools → Developer Tools: Style Editor
OS: Linux → All
Hardware: x86 → All
Once bug 687160 lands that will be possible.

Custom context menus are supported. See the Scratchpad integration.

There's bug 684445 for a default context menu, but that's not a requirement for fixing this bug, since the intent here is to have a custom context menu anyway.
Blocks: 724119
Not sure I'll have time for this anytime soon, since it's low priority.
Assignee: vporof → nobody
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.