[jbosstools-issues] [JBoss JIRA] (JBIDE-15111) Bad text formatting when inserting JS/CSS from jQuery Mobile Widget Palette

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Tue Jul 2 13:33:20 EDT 2013


Daniel Azarov created JBIDE-15111:
-------------------------------------

             Summary: Bad text formatting when inserting JS/CSS from jQuery Mobile Widget Palette
                 Key: JBIDE-15111
                 URL: https://issues.jboss.org/browse/JBIDE-15111
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml/html source editing
    Affects Versions: 4.1.0.Beta2
            Reporter: Daniel Azarov
            Assignee: Daniel Azarov
             Fix For: 4.1.0.CR1


1. We should use the preferences/settings of the editor to insert space symbols (N spaces/tab) instead of hardcoded " ".

2. Suppose we have the following code:
{code}
<!DOCTYPE html>
<html>
  <body>

  </body>
</html>
{code}

After inserting JS/CSS result will be:
{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>

  </body>
</html>
{code}

There is empty line in <head>

--
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