very minor issue when adding a tag

4 posts, 0 answers
  1. Tim
    Tim avatar
    17 posts
    Member since:
    Sep 2012

    Posted 10 Apr 2013 Link to this post

    If say you copy a div from somewhere and paste it there is no closing div which is fine, but if you add a closing div it then adds another closing div 

    <div id="foo"></div></div>
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 10 Apr 2013 Link to this post

    Hello Tim,

    First we want to clarify that you talk about Graphite and not Mist, correct?
    If so, we're aware of some scenarios in which such an issue could occur, but could not reproduce this one with the description you've provided, it is possible it depends on the rest of the markup in your file. If you could provide us with stripped, bare-bones markup that causes the problem, that would be great.

    All the best,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  3. Tim
    Tim avatar
    17 posts
    Member since:
    Sep 2012

    Posted 12 Apr 2013 Link to this post

    Im using Graphite
    This is the code verbatim from my test project

    <!--Login page-->
    <div id="login" data-role="page" >
    <div data-role="content">
                    
    <div id="login-box">
    <h2>Login</h2>
    <form >
    <label for="text-1" data-corners="false">
    <h3>Username / email address</h3>
    </label>
    <input type="text" name="username" id="username" value="" data-clear-btn="true">
    <label for="password-2" data-corners="false">
    <h3>Password</h3>
    </label>
    <input type="password" data-clear-btn="true" name="password" id="password" value="" autocomplete="off" >
    <p />
    <div  data-corners="false">
    <a href="#home" data-role="button"  class="login-btn" data-transition="slide" data-inline="true">Login</a>
    <a href="#reset-password" data-role="button"  class="login-btn" data-rel="dialog" data-inline="true">Reset Password</a>
    <a href="#" data-role=button class="login-btn" data-inline="true">Exit</a>
    </div>
    </form>

    </div>
    </div>
    </div>

    So now say if i want another div with data corners as false, im lazy so i just copy and paste that div

    <div  data-corners="false">

    then when i close the div with </div>
    it auto adds another </div>

    so i get </div></div>

    its really minor but ... its kinda strange behaviour
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Apr 2013 Link to this post

    Hi Tim,

    No dice, see short video here: http://screencast.com/t/Hbg4AajQQiR.

    Regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
Back to Top