This question is locked. New answers and comments are not allowed.
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>
<div id="foo"></div></div>
3 Answers, 1 is accepted
0
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.
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
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
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.
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.