1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Admin CP: Template edtior - oddities with tabbing and undoing etc.

Discussion in 'Resolved Bug Reports' started by Chris D, Jun 20, 2013.

  1. Chris D

    Chris D XenForo Developer Staff Member

    Loving the new template editor support for tabs and various other shortcuts.

    I have however, a few times been tripped up by undo/redo.

    It seems as though if you make a change, use tab to indent a block of text, make another change and then attempt to undo, you cannot undo further back than when you did the tab.

    That's pretty much reproducible all the time.

    What's less common, but more serious, is I've see undo / redo only correct partially what it should have done.

    This has left me with entire blocks of template code disappearing, incomplete bits of code reappearing and then be unable to do the mess using undo/redo forcing a reload of the template potentially losing changes... Luckily I can now Ctrl+S every few seconds ;)
  2. CyberAP

    CyberAP Well-Known Member

    Also editor doesn't know how to handle } symbol in CSS templates. It should remove tabs or spaces when it's typed on a new line.
  3. Mike

    Mike XenForo Developer Staff Member

    I've had to do some manual selection management to sort this, but that does also give us some better control IMO, so this should be fixed for beta 2.
    CyberAP likes this.

Share This Page