[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 9 15:58:20 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov updated JBIDE-15111:
----------------------------------

    Git Pull Request: https://github.com/jbosstools/jbosstools-jst/pull/174, https://github.com/jbosstools/jbosstools-base/pull/162  (was: https://github.com/jbosstools/jbosstools-jst/pull/174)

    
> 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.x, 4.2.0.Alpha1
>
>
> 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