Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Updates to the Message Draft Component

States

Formatting Bar Closed

The Message Draft Component has a new ‘Show formatting' button that displays next to the attachment and emoji icons.

States

Formatting Bar Closed

...

  • A tooltip shows when hovering over this button.

  • When clicked, the formatting bar is opened and the button changes to the ‘active’ state (see below)

...

When the formatting bar is opened users have quick access to standard markdown formatting for their message. In addition, a Preview button (eye icon) is added to show a preview of what they’re formatting (similar to existing experimental preview function)

...

The following controls are displayed when the formatting bar is opened:

  • Bold,

  • Italic,

  • Strikethrough

  • Headings

  • Link and Links

  • Code formatting

  • Quote,

  • Bulleted Lists,

  • Numbered Lists

  • Help (shows current message help in new window)

  • Preview

...

Buttons

  • When hovering over one of the formatting buttons, tooltips (with shortcuts if applicable) show

...

Headings Button

  • For the Headings control, the formatting controls are temporarily replaced with the heading options (H1-H6)

...

Shortcuts

Mac

Format

Mac

Windows

Bold

⌘ B

BoldCtrl B

Italic

⌘ I

ItalicCtrl I

Strikethrough

⌘ Shift S

StrikethroughCtrl Shift S

Heading 1

⌘ Option 1

Ctrl Alt 1

Heading 12

⌘ Option 2

Ctrl Alt 2

Heading 23

⌘ Option 3

Ctrl Alt 3

Heading 34

⌘ Option 4

Ctrl Alt 4

Heading 45

⌘ Option 5

Ctrl Alt 5

Heading 56

⌘ Option 6

Heading Ctrl Alt 6

Link

Option K

LinkCtrl Alt K

...

Behavior for applying formatting

...