Open GoogleCodeExporter opened 9 years ago
This issue is not only with Highlight element. It regards all dropdown elements
in header.
This is issue can be fixed if element#photo will get z-index: -1, but then
nothing can be applied to the image. :(
Original comment by jeserkin@gmail.com
on 30 Jan 2013 at 10:27
Edit file showimage.css
change z-index of element#toobar to 1000 like below
.toolbar {
position:fixed;
height: 30px;
margin-left: 10px;
padding-top: 6px;
z-index: 1000;
}
Original comment by wacha...@gmail.com
on 3 Feb 2013 at 2:18
after selected some dropdown elements ex. line and try to edit image you will
notice It hightlight all image (like crlt+a) for solve this problem you have to
edit file showimage.js
....
188 setDivStyle: function(x, y) {
189 $(photoshop.layerId).setAttribute("style", "");
190 //$(photoshop.layerId).setAttribute("contentEditable", false);/*before*/
190 $(photoshop.layerId).setAttribute("contentEditable", true); /*after*/
...
Original comment by wacha...@gmail.com
on 3 Feb 2013 at 3:02
Will this also be fixed in next version?
Original comment by jeserkin@gmail.com
on 3 Feb 2013 at 3:10
In fact, I'm not a member of this project. I just saw your problem seem me and
tried to fix it. Fortunately it's solved. So I think if someone of this project
saw this,they will fix.
Original comment by wacha...@gmail.com
on 3 Feb 2013 at 3:35
Awesome. Thank you. Will hope, they will.
Original comment by jeserkin@gmail.com
on 3 Feb 2013 at 3:36
Script doesn't solve problem described, because ("contentEditable", true) will
cause editing in Highlight area.
Original comment by jeserkin@gmail.com
on 3 Feb 2013 at 7:14
maybe do like this:
.....
setDivStyle: function(x, y) {
$(photoshop.layerId).setAttribute("style", "");
$(photoshop.layerId).setAttribute("contentEditable", true); // setting for all
switch(photoshop.flag) {
case 'rectangle':
case 'radiusRectangle':
case 'ellipse':
photoshop.setHighLightMode();
break;
case 'redact':
photoshop.setBlackoutMode();
break;
case 'text':
photoshop.setTextMode(); // call
break;
...
setTextMode: function() {
...
/* comment line below */
//$(photoshop.layerId).setAttribute('contentEditable', true);
...
Original comment by wacha...@gmail.com
on 4 Feb 2013 at 2:02
Original issue reported on code.google.com by
jeserkin@gmail.com
on 30 Jan 2013 at 10:14