mjmlio / mjml-app

:email: The desktop app for MJML
http://mjmlio.github.io/mjml-app
MIT License
843 stars 81 forks source link

Tab adds space to adjacent tag #396

Open thompcha opened 1 week ago

thompcha commented 1 week ago

Describe the bug Pressing Tab sometimes adds space inside the nearest tag

To Reproduce Steps to reproduce the behavior:

  1. Press the "New file" button
  2. Place the cursor before the <mjml> tag
  3. Press Tab

Expected behavior The tag is indented. <mjml>

Actual behavior Space is added within the tag. < mjml>

MJML environment (please complete the following information):

Email sending environment(for rendering issues): N/A

Affected email clients (for rendering issues): N/A

Screenshots N/A

Additional context N/A

iRyusa commented 1 week ago

Moving this to MJML APP repo instead, but I don't know if I'll be able to work on this. This is so weird because we rely on CodeMirror for the editor and it shouldn't happening as the web version of try it live use exactly the same editor

thompcha commented 1 week ago

Sorry, I thought his was the MJML app repo. Where can I find that?

iRyusa commented 1 week ago

I've already transferred it:

@iRyusa transferred this issue from mjmlio/mjml 23 minutes ago