# Emoji 自动换行？

**URL:** https://meta.discourse.org/t/emoji-auto-break-line/84431
**Category:** Support
**Created:** [2018年四月3日 03:12 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431 "2018-04-03T03:12:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [2018年四月3日 03:12 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/1 "2018-04-03T03:12:17Z")

</div>

Emoji auto break line, I dont know how to fix, can help me?(Discourse 2.0.0.beta5)

 ![30](https://global.discourse-cdn.com/meta/original/3X/8/5/8540e26caa5552e176590121f2746c1a98f5db5a.png)

---

<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: [2018年四月3日 03:16 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/2 "2018-04-03T03:16:40Z")

</div>

🙂 🙂 🙂 looks like either a plugin issue or perhaps a setting issue.

Is `traditional markdown linebreaks` enabled on your site?

---

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [2018年四月3日 03:23 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/3 "2018-04-03T03:23:59Z")

</div>

> [@sam](#):
>
> traditional markdown

It is enabled but dont working…  
You can see my forum here.

[https://xeom.info/t/so-dien-thoai-khieu-nai-tai-xe-grabcar-grabbike-len-tong-dai-cho-khach-hang](https://xeom.info/t/so-dien-thoai-khieu-nai-tai-xe-grabcar-grabbike-len-tong-dai-cho-khach-hang)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018年四月3日 07:11 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/4 "2018-04-03T07:11:11Z")

</div>

It looks like the problem is coming from the custom theme you are using.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年四月3日 08:56 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/5 "2018-04-03T08:56:51Z")

</div>

I could be wrong, but did you use the code to center all images from this topic?

> [@What is the code for centering an uploaded image?](https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446/7):
>
> If the images are not wide enough they will stack horizontally like so: If you’re fine with losing this, then you can automatically center all images in posts using CSS. .lightbox-wrapper { display: block; text-align: center; } p\>img:not(.emoji){ display: block; margin: 0 auto; } The results would look like this:

If so, then the issue you’re facing is an unintended consequence.

You need to exclude emoji from the rules that center images, so change this:

```plaintext
.lightbox-wrapper {
    display: block;
    text-align: center;
}

p>img {
    display: block;
    margin: 0 auto; 
}

```

to this:

```plaintext
.lightbox-wrapper {
    display: block;
    text-align: center;
}

p>img:not(.emoji){
    display: block;
    margin: 0 auto; 
}

```

And the result will be:

 ![Capture2PNG](https://global.discourse-cdn.com/meta/original/3X/0/d/0daa3d05fcd43a2026dc02f482339f9973a7611d.PNG)

I will also edit my post in the topic.

---

<div class="post-metadata">

### Author: ![trangchongcheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trangchongcheng/32/120005_2.png) [@trangchongcheng](https://meta.discourse.org/u/trangchongcheng)
#### Post date: [2018年四月3日 18:17 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/7 "2018-04-03T18:17:51Z")

</div>

> [@lll](#):
>
> I will also edit my post in the topic.

great! It already works  
Thank you so much :\*  
loving 🙂

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年四月6日 22:10 UTC](https://meta.discourse.org/t/emoji-auto-break-line/84431/8 "2018-04-06T22:10:30Z")

</div>

This topic was automatically closed after 28 hours. New replies are no longer allowed.
