# Help us test the rewritten Composer

**URL:** https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679
**Category:** Feature
**Tags:** feedback
**Created:** [October 19, 2015, 4:51pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679 "2015-10-19T16:51:38Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)
#### Post date: [November 9, 2015, 11:24pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/68 "2015-11-09T23:24:30Z")

</div>

Weird, I guess I never noticed that before. Thanks for clearing that up.

Issue resolved nonexistent. 😃

edit: I think I was just thrown off because the editor recognizes URLs without the http bit normally, e.g. [www.google.com](http://www.google.com) works fine.

---

<div class="post-metadata">

### Author: ![oblio](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@oblio](https://meta.discourse.org/u/oblio)
#### Post date: [November 10, 2015, 1:29am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/69 "2015-11-10T01:29:07Z")

</div>

@eviltrout:

Somewhat related to this topic: does the new composer help in any way regarding the possibility of having seamless embedded Discourse comments?

For reference see: [https://meta.discourse.org/t/auto-assign-new-embedded-blog-topics-unique-categories/32036/10](https://meta.discourse.org/t/auto-assign-new-embedded-blog-topics-unique-categories/32036/10)

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [November 10, 2015, 4:10am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/73 "2015-11-10T04:10:42Z")

</div>

I’m seeing the same erratic behavior in Chrome on the iPad too.

Here is a screenshot:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/6/f6437911e113c6ccd7680308efcc832dcca60a46.png)

---

<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: [November 10, 2015, 5:59am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/74 "2015-11-10T05:59:25Z")

</div>

Chrome on iPad is not really a supported platform, mainly because chrome on iPad has insane quirks that no desktop or android version of chrome shares.. it is a platypus, and not the good kind.

---

<div class="post-metadata">

### Author: ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)
#### Post date: [November 10, 2015, 9:38am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/75 "2015-11-10T09:38:48Z")

</div>

Why We Can’t prefomate XML as code

 ![](https://global.discourse-cdn.com/meta/original/3X/a/b/ab565dfcf2bdf25820a9573959ec8f705b00417e.png)

 declare @id int = :id

```
  if @id &lt; 0
  begin

```

select CONVERT(Bit,1) end as Valid,‘ales goot’ as Msg

```
  end
  else 
  begin
  select
  CASE when status='P' then CONVERT(Bit,0) else CONVERT(Bit,1) end as Valid
  ,'Temeljnica je već proknjižena!' as Msg
  from
  fin_doc d
  where
  id = :id
  end

</SQL>
</sequence>

```

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 10, 2015, 11:03am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/77 "2015-11-10T11:03:01Z")

</div>

@eviltrout did a bit of debugging on mobile…

`.d-editor-preview` is still being refreshed after every keypress with cooked html of the post despite not being visible on screen. Editor should simply have a “no-preview” mode where Markdown is never cooked.

Ideally we should get away without even loading the Markdown parser js bundle until we start previewing Markdown.

This is causing lag on slow Android phones now.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 10, 2015, 5:58pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/78 "2015-11-10T17:58:17Z")

</div>

I’d removed the body padding feature because I thought it was causing issues on the iPad but it seems it was a red herring. I’ve put it back:

[https://github.com/discourse/discourse/commit/b05f6ddbe135988c45314a08010d928d919e96e9](https://github.com/discourse/discourse/commit/b05f6ddbe135988c45314a08010d928d919e96e9)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 10, 2015, 8:20pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/79 "2015-11-10T20:20:27Z")

</div>

I looked at the over refreshing of the preview. It looks like there was a bug with the new editor and it wasn’t debouncing every 30ms like it should be. I fixed that:

[https://github.com/discourse/discourse/commit/fa27f0a2ea5046a1193d2edba1d97988e87cd455](https://github.com/discourse/discourse/commit/fa27f0a2ea5046a1193d2edba1d97988e87cd455)

We can’t stop rendering HTML though, as a bunch of code paths assume the HTML needs to be there as a shortcut to getting “cooked” content.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 10, 2015, 9:10pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/80 "2015-11-10T21:10:12Z")

</div>

> [@Steven](#):
>
> the scrolling in the preview doesn’t follow the scrolling in the composer

This was a regression of mine. The code for doing this was patched into pagedown and I didn’t notice it!

Fixed here:

[https://github.com/discourse/discourse/commit/42bf8151b2a89ac2b770b4c716ce4915bd69030d](https://github.com/discourse/discourse/commit/42bf8151b2a89ac2b770b4c716ce4915bd69030d)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 10, 2015, 9:14pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/81 "2015-11-10T21:14:25Z")

</div>

Its looking a bit better on my doogy phone, don’t feel the lag as much

---

<div class="post-metadata">

### Author: ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)
#### Post date: [November 11, 2015, 12:11am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/82 "2015-11-11T00:11:07Z")

</div>

The composer has some issues when you have a gifv in the post you’re writing (e.g. in the bug thread I just made). In the preview, the video reloads every time I type something, jumping back up to the top of the preview. This can cause the browser to hang if I type a full sentence fairly quickly or sometimes selecting text.

On Chrome/Win7/Desktop. Can repro while editing [the aforementioned thread](https://meta.discourse.org/t/notification-menu-having-sporadic-issues/35441). Most noticeable when composer height is smaller than gifv height, made writing that post rather difficult. 🙂

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 11, 2015, 12:51am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/83 "2015-11-11T00:51:04Z")

</div>

Functionally, the new composer works well.

My only little, piccolo, gripe is that it still uses a lot of absolute positioning making it tedious to re-arrange / re-style.

It took me a little while to get the re-arrangement below looking neat again after this update (still a bunch of little tweaks to be made).

Maybe a little less absolute positioning in the future? 😉

But otherwise, good job.

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

---

<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: [November 11, 2015, 2:12am UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/84 "2015-11-11T02:12:41Z")

</div>

That is an … interesting arrangement.

---

<div class="post-metadata">

### Author: ![Joey\_Tuan](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@Joey\_Tuan](https://meta.discourse.org/u/Joey_Tuan)
#### Post date: [November 11, 2015, 6:23pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/85 "2015-11-11T18:23:40Z")

</div>

On meta, the ipad keyboard fix works for New Topic posting, but not reply posting.

---

<div class="post-metadata">

### Author: ![axp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/axp/32/116685_2.png) [@axp](https://meta.discourse.org/u/axp)
#### Post date: [November 11, 2015, 7:19pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/86 "2015-11-11T19:19:06Z")

</div>

I’m on iPad Air (iOS 9.1) and I can not select category for New topic.

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [November 11, 2015, 8:31pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/87 "2015-11-11T20:31:15Z")

</div>

> [@Steven](#):
>
> Also, not really a bug, but an observation. When we used an emoji (via the modal), the old editor added one space before and one after the emoji, not in the new one. Not really a problem though
> 
> edit : and finally, a little problem for european users, when we type the euro symbol (€ - shortcut : ALT Gr + E) it also opens the emoji modal.

The euro symbol is still a bit of a problem on azerty keyboards, is there a way to deactivate some shortcuts ?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 11, 2015, 8:34pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/88 "2015-11-11T20:34:38Z")

</div>

Okay I’ve committed a couple more iPad fixes. Safari on iOS is quickly becoming my worst enemy 😄

> [@Steven](#):
>
> The euro symbol is still a bit of a problem

I just removed the shortcut. I figure emoji doesn’t really need a shortcut anyway since you can just type `:`

[https://github.com/discourse/discourse/commit/ff85fa2a98b71a132b0856b175c57182e75d50b3](https://github.com/discourse/discourse/commit/ff85fa2a98b71a132b0856b175c57182e75d50b3)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 12, 2015, 6:11pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/89 "2015-11-12T18:11:25Z")

</div>

One thing I haven’t mentioned so far is the new keyboard shortcuts. I tried my best to copy the same keys that Gmail and Google Docs use. Our buttons don’t always have a 1:1 to theirs so sometimes I had to improvise a bit.

Another nice feature I copied from Gmail is the way they display the shortcuts on a Mac:

![](https://global.discourse-cdn.com/meta/original/3X/f/1/f1fdd73207e6d3432e7615563b63b795244d7766.png)

It uses the common glyphs that people are used to seeing on a Mac for their keys. On Windows, the same shortcut is displayed as “Ctrl + Shift + 9”

I would appreciate any feedback on the choices I made for the buttons. It’s definitely not too late to tweak the keys now.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 12, 2015, 6:11pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/90 "2015-11-12T18:11:38Z")

</div>

I can’t tell whether this should go here or in the bug category, but I don’t see anything about the new editor in the bug category.

Reply-as-linked-topic is working fine here on meta, but in my install (1.5.0.beta4) when I do reply as linked topic, nothing is getting put into the editor, so it really behaves just like writing a new topic.

Similarly I thought that I saw something about the insert-a-link icon (or control-K) on the new editor not working, but I don’t see it now. In any case, it doesn’t work in my version, but does here.

These seem rather like show-stoppers. Will these fixes be coming our way soon?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [November 12, 2015, 6:16pm UTC](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679/91 "2015-11-12T18:16:03Z")

</div>

I am not sure who handles updating your site, but those fixes are in the latest `tests-passed` branch of Discourse. If you are tracking that branch and update now you will get them.

[Previous page](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679.md?page=3)

[Next page](https://meta.discourse.org/t/help-us-test-the-rewritten-composer/34679.md?page=5)
