Open Bug 1476107 Opened 6 years ago Updated 1 year 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

()

People

(Reporter: kohei, Unassigned)

References

(Blocks 6 open bugs)

Details

(Keywords: bmo-ux)

Attachments

(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

    [ Quote Brian Hackett @ CE 2019-01-27 02:07 UTC:
https://bugzilla.mozilla.org/show_bug.cgi?id=1523137#c0
    Would it be possible ... to either not use markdown, or have an easy way to disable markdown when commenting? (I don't see anything in the comment UI or in my user preferences to avoid using markdown.) ]

    [ Quote Kohei Yoshino @ CE 2019-07-11 02:12 UTC:
https://bugzilla.mozilla.org/show_bug.cgi?id=1523137#c1
    Bug 1476107 allows to disable Markdown in the comment editor. ]

    This element seems more important to me.
    .
    Related: https://github.com/github-community/community/discussions/16929#discussioncomment-3151079

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: