Editor </center> tag doesn't work.

in #utopian-io8 years ago (edited)

Expected behavior

When you use <center></center> tags, text between tags should be centered.

Actual behavior

Text become centered after <center> tag, yet it's not going back to left aligned after closing tag with </center>

How to reproduce

  • You can create a new contribution https://utopian.io/write
  • Use <center></center> tags for text alignment and see results.

  • Browser: Safari
  • Operating system: MacOS High Sierra

Recording Of The Bug

Screen Shot 2018-02-03 at 23.33.57.png



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

Hello, this is not a bug. The utopian.io text editor is in the mode of Markdown, and you can't' mix Markdown and HTML syntax.

You can contact us on Discord.
[utopian-moderator]

Alright, just wanna learn.

  • How is that <center> tag works then?
  • I'm also able to use <div class="pull-right"></div> and similar classes to organize my post.

Either it shouldn't render any HTML tag or it should render it correctly. It seems pretty buggy when I look into end results.

Screen Shot 2018-02-06 at 16.28.52.png

Last but least I can combine both syntax in any other MarkDown supported editor. I'm ok if it doesn't count as a bug, it maybe a suggestion to fix :), yet the information you gave is not satisfying.

steemit

test

not...

You see, steemit text editor works!

So you've just approved my point!?

As I understand fully this, but still, every text editor is different, maybe utopian only supports markdown. so this cannot be counted as a bug. You may try as a suggestion, although.

Thanks for the suggestion, I'm afraid I'm gonna reject that :)
It's already a bug, also there is another bug in the editor which is skipping new lines. I'll keep track PRs and eventually see that will be fixed. Thanks for your effort tho.

Hey @justyy, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Yet, you didn't upvote, nor did jesty a legit question/report/bug

Coin Marketplace

STEEM 0.05
TRX 0.32
JST 0.082
BTC 65704.64
ETH 1794.49
USDT 1.00
SBD 0.43