[
https://jira.jboss.org/jira/browse/JBIDE-2115?page=com.atlassian.jira.plu...
]
Yahor Radtsevich commented on JBIDE-2115:
-----------------------------------------
The reason of such behavior is using of <span> tag to wrap every text element on a
page in VPE.
For example, if we have '<a href="abc">text</a>' on a page,
in VPE it becomes '<a
href="abc"><span>text</span></a>'
So if we have a style like:
a span {
color:red;
}
, all links in VPE will be in red, but a browser will show them as usual links.
As a solution of this I propose to use custom tags to wrap text elements. (Custom tag is
any tag which Gecko does not know)
In this case no one user defined style will overlap with our custom tag.
Example:
'<a href="abc">text</a>' will be '<a
href="abc"><vpe-text>text</vpe-text></a>'.
This fix will be done in future releases of JBoss Tools.
VPE can't apply link styles.
----------------------------
Key: JBIDE-2115
URL:
https://jira.jboss.org/jira/browse/JBIDE-2115
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 2.1.1
Reporter: Andrei Scherbovich
Assignee: Yahor Radtsevich
Priority: Minor
Fix For: 3.0.0.GA
Attachments: 1.jpg, Colourise1-0.zip
VPE can't apply all styles.
I'll attach a CSS template where not all styles applyed in VPE correctly. It is easy
to see if to load it in browser. Links have different style .
I'll attach a picture where links looks different in browser and in VPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira