Closed
Bug 780246
Opened 13 years ago
Closed 13 years ago
Kuma: Editor - Add a key shortcut to toggle <pre> mode
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Unassigned)
Details
This would help engineers that don't like toolbars insert code samples more quickly.
Comment 1•13 years ago
|
||
How would they choose a language without the toolbar?
| Reporter | ||
Comment 2•13 years ago
|
||
Well, they don't *have* to choose a language; you can have a bare <pre> block (indeed, we use these a lot in reference documentation; our syntax sections are not syntax highlighted because it just clutters up the function prototype).
But we could use the context menu on <pre> blocks to choose a language...
Comment 3•13 years ago
|
||
Cool -- what keyboard shortcut would you like?
| Reporter | ||
Comment 4•13 years ago
|
||
I don't have one in mind. We didn't have one on MindTouch; this is a New Feature Request.
Comment 5•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/d3db4c9027fd1e2a9dbf83a2f8a66c344fe7b898
fix bug 780246 - Add keyboard shortcut for PRE
https://github.com/mozilla/kuma/commit/4c7bcf443b0bac088340c34147af445ec1a90c58
Merge pull request #493 from darkwing/pre-shortcut-780246
fix bug 780246 - Add keyboard shortcut for PRE
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
Is the shortcut CTRL+P? Looks like Firefox overrides this with "Print".
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 7•13 years ago
|
||
We override Firefox's while in edit mode. It works for me anyway.
Comment 8•13 years ago
|
||
Works for me in Firefox too.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 9•13 years ago
|
||
Now it is working for me. Not sure what I did wrong a second ago.
| Assignee | ||
Updated•13 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•13 years ago
|
Component: Website → Landing pages
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•