This is a migrated thread and some comments may be shown as answers.

very minor issue when adding a tag

3 Answers 16 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 10 Apr 2013, 12:12 PM
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>

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Apr 2013, 12:40 PM
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.
0
Tim
Top achievements
Rank 1
answered on 12 Apr 2013, 10:14 AM
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
0
Steve
Telerik team
answered on 12 Apr 2013, 11:01 AM
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.
Tags
Report a bug
Asked by
Tim
Top achievements
Rank 1
Answers by
Steve
Telerik team
Tim
Top achievements
Rank 1
Share this question
or