Author: dsakovich
Date: 2008-04-23 08:15:28 -0400 (Wed, 23 Apr 2008)
New Revision: 7706
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-2102
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-04-23
12:12:50 UTC (rev 7705)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-04-23
12:15:28 UTC (rev 7706)
@@ -2,29 +2,31 @@
<vpe:templates>
<vpe:tag name="a" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class">
- <vpe:attribute name="href" value="javascript:return
false;"/>
- </vpe:copy>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler"
/>
- <vpe:format type="BoldFormat" addChildren="allow"
handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler"
/>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler"
/>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormatting>
- </vpe:template>
+ <vpe:template children="yes" modify="yes">
+ <span class="{@class}" id="{@id}"
+ style="color:blue;text-decoration:underline;{@style}"
+ title="{tagstring()}">
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler"
/>
+ <vpe:format type="BoldFormat" addChildren="allow"
handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler"
/>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler"
/>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormatting>
+ <vpe:pseudoContent />
+ </vpe:template>
</vpe:tag>
<vpe:tag name="abbr" case-sensitive="no">