[
https://issues.jboss.org/browse/JBIDE-17450?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-17450:
----------------------------------------
I don't know why it works for [~ibuziuk]. It doesn't seem to be platform
dependent. The problem is that the webroot folder which is used by VPV when generating URL
is the project root. Not the actual webroot folder of the project.
For example, for my project, VPV generates the following working URL:
http://localhost:43951/src/main/webapp/index.html?projectName=jboss-as-ki...
But it should be
http://localhost:43951/index.html?projectName=jboss-as-kitchensink-html5-...
since *<project>/src/main/webapp* is an actual webroot folder of the project. Not
*<project>*. So, any webroot relative (started with "/") paths won't
work in VPV.
Drag&Drop of image to VPE source part doesn't insert proper
link
----------------------------------------------------------------
Key: JBIDE-17450
URL:
https://issues.jboss.org/browse/JBIDE-17450
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: visual-page-editor-core
Affects Versions: 4.2.0.Beta2
Environment: JBDS 8.0.0.Beta2-v20140525-2146-B104 Linux 64bit
Reporter: Vlado Pakan
Assignee: Ilya Buziuk
Fix For: 4.2.0.Beta3
1. Import HTML 5 project from JBoss Central
2. Open index.html page
3. Drag&drop some image from img subdirectory to source part of VPE
ERROR: Dropped image is not shown in visual part of VPE. Inserted img tag contains src
attribute starting with '/'. Once this character is removed image is properly
displayed in visual preview.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)