[jbosstools-issues] [JBoss JIRA] (JBIDE-15194) Wrong text formating when inserting a code snippet from jQuery Mobile palette
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Fri Jul 12 19:39:20 EDT 2013
Alexey Kazakov created JBIDE-15194:
--------------------------------------
Summary: Wrong text formating when inserting a code snippet from jQuery Mobile palette
Key: JBIDE-15194
URL: https://issues.jboss.org/browse/JBIDE-15194
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.2.0.Alpha1
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 4.2.0.Alpha1
1. Create an HTML5 page:
{code}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
<div></div>
</body>
</html>
{code}
2. DnD a page from jQuery Mobile palette between <div>...</div>.
3. FAILURE: the result is (see the last line):
{code}
...
<div>
<div data-role="page" id="page-1">
<div data-role="header">
<h1>Page Title</h1>
</div>
<div data-role="content">
<p>Page content goes here.</p>
</div>
<div data-role="footer">
<h4>Page Footer</h4>
</div>
</div></div>
...
{code}
It should be:
{code}
<div>
<div data-role="page" id="page-1">
<div data-role="header">
<h1>Page Title</h1>
</div>
<div data-role="content">
<p>Page content goes here.</p>
</div>
<div data-role="footer">
<h4>Page Footer</h4>
</div>
</div>
</div>
{code}
instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list