[jbosstools-issues] [JBoss JIRA] (JBIDE-18033) Wrong html tag insertion from Palette into empty html file

Alexey Kazakov (JIRA) issues at jboss.org
Fri Aug 1 20:26:29 EDT 2014


Alexey Kazakov created JBIDE-18033:
--------------------------------------

             Summary: Wrong html tag insertion from Palette into empty html file
                 Key: JBIDE-18033
                 URL: https://issues.jboss.org/browse/JBIDE-18033
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml/html source editing
    Affects Versions: 4.2.0.CR1
            Reporter: Alexey Kazakov
            Assignee: Daniel Azarov
             Fix For: 4.2.0.CR1


1. Create an empty html file.
2. DnD a popup from JQuery Mobile 1.4 Palette
3. See the wrong result:
{code}

<a href="#popup-1" data-rel="popup" class="ui-btn ui-corner-all ui-alt-icon ui-shadow ui-btn-inline" title="Popup">Popup</a>
<div data-role="popup" id="popup-1" class="ui-content">
	<p>This is a popup</p>
</div>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" />
	<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
	<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
</head>
<body>
</body>
</html>
{code}
The tag should be inserted into the generated body.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list