Formatting Bug with Glitch editor

I’ve been using Glitch for almost a year now and when I joined the community and started coding the editor would self format for me. So if I would add a div it would indent as needed

<tag>
  <tag>
    <div>
      Content
     </div>
  </tag>
</tag>

Now it doesn’t self format =>

<tag>
  <tag>
<div>
Content
</div>
  </tag>
</tag>

I brought this up to Glitch support through an email and they either didn’t understand me or they were trying to push it off.

I just want to get this problem fixed so that I can get to coding my project faster now.

I also want to note that when I press return it will place my cursor with invalid indents

<tag>
  <tag>
    <div>
|
    </div>
  </tag>
</tag>

(“|” represents my cursor)

image

working for me just now, for block element types

image

apparently has a different opinion on how to handle inline elements

could you try testing with something other than <tag>, what actually is tag?

I was showing tag as an example. Here is what happens to me.

1 Like