[jbosstools-issues] [JBoss JIRA] (JBIDE-16694) Palette: Wrong Text Formating when inserting elements from Palette

Daniel Azarov (JIRA) issues at jboss.org
Tue Mar 4 14:05:34 EST 2014


Daniel Azarov created JBIDE-16694:
-------------------------------------

             Summary: Palette: Wrong Text Formating when inserting elements from Palette
                 Key: JBIDE-16694
                 URL: https://issues.jboss.org/browse/JBIDE-16694
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml/html source editing
    Affects Versions: 4.2.0.Beta1
            Reporter: Daniel Azarov
            Assignee: Daniel Azarov
             Fix For: 4.2.0.Beta1
         Attachments: AfterFormat.png, BeforeFormat.png

Test case:
1. Create project
2. Create html file
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j">

<ui:composition template="">
	<ui:define name="header">
	    Add your header here or delete to use the default
	</ui:define>
	<ui:define name="content">
	    Add your content here or delete to use the default
	</ui:define>
	<ui:define name="footer">
	    Add your footer here or delete to use the default
	</ui:define>
</ui:composition>
</html>
{code}

3. Open html file in Visual Page Editor
4. Select text:
!BeforeFormat.png!

5. Click on "ajax" palette element

FAIL: Wrong Text Formatting
!AfterFormat.png!

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