Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16694

Palette: Wrong Text Formating when inserting elements from Palette

XMLWordPrintable

      Test case:
      1. Create project
      2. Create xhtml file

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

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

      5. Click on "ajax" palette element

      FAIL: Wrong Text Formatting

      Should be:

        1. AfterFormat.png
          AfterFormat.png
          34 kB
        2. BeforeFormat.png
          BeforeFormat.png
          29 kB
        3. scr.png
          scr.png
          28 kB

            dazarov_jira Daniel Azarov (Inactive)
            dazarov_jira Daniel Azarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: