Closed Bug 1476107 Opened 6 years ago Closed 2 months ago

Implement new Markdown editor widget with text formatting toolbar and keyboard shortcuts

Categories

(bugzilla.mozilla.org :: Bug Creation/Editing, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kohei, Assigned: kohei)

References

(Blocks 2 open bugs)

Details

(Keywords: bmo-ux)

Attachments

(1 file, 1 obsolete file)

Once the Markdown support is landed, the comment field should offer a text formatting toolbar as seen on GitHub and BzDeck, which allows users to format their comment without knowing the Markdown syntax. https://help.github.com/articles/about-writing-and-formatting-on-github/ https://twitter.com/BzDeck/status/728299177986408448 Maybe the relevant BzDeck code can be ported for a quick implementation: https://github.com/bzdeck/bzdeck/issues/370

I agree. This should be considered a bug, not an "enhancement".

I am particularly worried about bug comments from less experienced
contributors / users who very often include HTML markup snippets
in comments given the nature of our work...

Severity: enhancement → normal
Blocks: bmo-markdown
Assignee: nobody → kohei.yoshino
Summary: Implement text formatting toolbar for comment field → Implement text formatting toolbar and keyboard shortcuts for Markdown comment field

We currently have 3 different comment box assets with Markdown preview:

  • modal bug page
  • legacy bug page, new/edit attachment page & enter bug page
  • edit comment extension (Bug 1518328)

More to come…

  • user story extension (Bug 1518755)
  • admin-editable fields, e.g. component description

Given the new formatting toolbar, we need a shared Markdown editor+preview widget that can be inserted to anywhere.

Blocks: 1518755
Blocks: 1474153
Blocks: 1352571
Component: General → User Interface
Summary: Implement text formatting toolbar and keyboard shortcuts for Markdown comment field → Implement new Markdown editor widget with text formatting toolbar and keyboard shortcuts
Severity: normal → enhancement
Status: NEW → ASSIGNED
Component: User Interface → Bug Creation/Editing
Blocks: 1518338
Blocks: 1281669
Blocks: 1534100
Blocks: 1539243
Blocks: 1539420
No longer blocks: 1281669
Blocks: 1546811
Blocks: 1247165
Blocks: 1330451

I personally want Cmd+K to insert a link, so will work on this now…

No longer blocks: 1518338
Attached file GitHub Pull Request (obsolete) —

Here. We. Go.

Blocks: 1523137
No longer blocks: 1330451
Depends on: 1606014
See Also: → 1599865
Attachment #9076698 - Attachment is obsolete: true
Assignee: kohei.yoshino → nobody
Status: ASSIGNED → NEW
No longer blocks: 1247165
No longer blocks: 1352571
Assignee: nobody → kohei

A new PR on the way.

Status: NEW → ASSIGNED
Duplicate of this bug: 1878532

The PR has been merged and deployed today 🎉 I love the keyboard shortcuts!

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Regressions: 1919687
Regressions: 1919692
Regressions: 1919789
Blocks: 1921710
Blocks: 1927973
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: