# Context menu (right-click) for the composer

**URL:** https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662
**Category:** UX
**Created:** [April 7, 2019, 6:40am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662 "2019-04-07T06:40:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [April 7, 2019, 6:40am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/1 "2019-04-07T06:40:08Z")

</div>

Hi guys,

I’m not sure how you’re work-flow is with the Discourse composer, but I’ll have to write a lot of more or less complex math, programming and other formatted texts. Sometimes the shortcuts are very helpful, but not as much user-friendly in my POV.

I think our formatting toolbar needs new feature and fresh look; less static, more dynamic and contextual.

How about a contextmenu that brings the main functionalities right to the place, where it’s needed (= finger tips & courser)? Actully, I’m not sure what capabilities we have with mobile browsers, but I would guess, it won’t be a problem to have at least some kind of “pop-up bubble” button with a fixed position or other kind of “magic”.

Let’s imagine the case you’ll …

- write multiple lanes with text: What’s, what you wanna usually do?  
(My answer: making enumerations and bullet point lists … up to the last empty lane)

- have selected some words: What’s, what you wanna usually do?  
(Make them bold, italic, link and quote them …)

- have you’re course between words without selection: What’s, what you wanna usually do?  
(I would guess: put an emoji, a math formula or something special between… )

You’ll see my point. I don’t wanna make the right-click action less capable than the system / browser default. But we need some improvement at this very relevant user interface, so called “context menu”. Are there any APIs or web technologies out there, that addresses this issue / demand? Maybe browser plugin solutions?

Thanks in advance and I’m glad to hear you’re opinion …

Best

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 7, 2019, 8:01am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/2 "2019-04-07T08:01:37Z")

</div>

Typing is faster, and there are already keyboard shortcuts for this stuff.

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [April 7, 2019, 8:42am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/3 "2019-04-07T08:42:00Z")

</div>

You’re right, there are shortcuts for Discourse but not for the composer formatting options.

 ![37](https://global.discourse-cdn.com/meta/original/3X/3/c/3c43da704dd5b054b47812199b7d7b9ea38a63b9.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [April 7, 2019, 9:06am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/4 "2019-04-07T09:06:13Z")

</div>

I _wrote_ this **entirely** from the `keyboard`

```plaintext
got to say

```

## it was pretty quick.

- I didn’t need any menu

- it’s standard markdown

- some things you need to consider:

> Not so bad?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 7, 2019, 9:34am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/5 "2019-04-07T09:34:31Z")

</div>

All toobar formatting options have keyboard shortcuts. Mouse over the toolbar items to see the shortcut.

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [April 7, 2019, 9:47am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/6 "2019-04-07T09:47:48Z")

</div>

Except those ones under the gear sub-menu

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 7, 2019, 10:01am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/7 "2019-04-07T10:01:55Z")

</div>

And you use those functions how often, exactly?

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [April 7, 2019, 10:21am UTC](https://meta.discourse.org/t/context-menu-right-click-for-the-composer/113662/8 "2019-04-07T10:21:39Z")

</div>

Indeed.

- Hide details (for embedding solutions and literature)
- Blur spoiler (for solutions and anything “secret”)

And even for

- Uploads (very common use case!!!)
- Math equations (unfortunately [not very well supported](https://meta.discourse.org/t/discourse-math-plugin/65770/110) as reference by the formatting bar)
