-
1. Re: line-height problem in publishing after update!
SimonCamilo Oct 7, 2014 10:24 PM (in response to Paolo Jerome)New version(2014.1) is bug y very bad
-
2. Re: line-height problem in publishing after update!
vivekuma Oct 7, 2014 11:01 PM (in response to SimonCamilo)This definitely is a bug in the new release.
Thanks for reporting it.
You can use this workaround for the time being:
Put this code in the compositionReady event handler:
sym.$("Text").css({"line-height":"40px"});
hth,
Vivekuma
-
3. Re: line-height problem in publishing after update!
Paolo Jerome Oct 8, 2014 12:03 AM (in response to Paolo Jerome)i also found out that the it returns "normal" instead of the value (px) of the line-height on the published version.
-
4. Re: line-height problem in publishing after update!
vivekuma Oct 8, 2014 12:09 AM (in response to Paolo Jerome)There is a bug in runtime, which you can fix yourself:
Search for "textShadow"(with quotes) in edge.5.0.0.min.js, and replace it with "textStyle".
hth,
Vivekuma
-
5. Re: line-height problem in publishing after update!
Paolo Jerome Oct 8, 2014 12:21 AM (in response to vivekuma)Thank you, Vivekuma! I decided to use the files along with the .an files. There's no issue in using it, right? I just know that it's harder to read the codes on the published version compared to the files along the .an.
What do you think?
-
6. Re: line-height problem in publishing after update!
vivekuma Oct 8, 2014 1:32 AM (in response to Paolo Jerome)You can use that, but it's always better to use the minified version of js files, which will reduce the file size which ultimately helps in lesser download time and faster page loads.
So, I would insist making the small change in the runtime as above and use the published files.
-
7. Re: line-height problem in publishing after update!
Paolo Jerome Oct 8, 2014 2:07 AM (in response to vivekuma)I did it earlier but the line height problem is still there. I did from scratch but still nothing.. Thank you!
-
8. Re: line-height problem in publishing after update!
vivekuma Oct 8, 2014 2:20 AM (in response to Paolo Jerome)Can you share the edge composition file?
-
9. Re: line-height problem in publishing after update!
Paolo Jerome Oct 8, 2014 3:39 AM (in response to vivekuma)Here you go. Thank you!
I can't post the original file because the file size is really huge.
-
10. Re: line-height problem in publishing after update!
vivekuma Oct 8, 2014 4:42 AM (in response to Paolo Jerome)Like I said earlier, if you replace the
ts:"textShadow" with ts:"textStyle"
in file edge.5.0.0.min.js in publish\web\edge_includes folder, things will work.
-Vivekuma
-
11. Re: line-height problem in publishing after update!
Paolo Jerome Oct 8, 2014 5:08 AM (in response to vivekuma)ohh. it's working now. the first time i tried it was not working. thanks!
-
12. Re: line-height problem in publishing after update!
vivekuma Oct 8, 2014 5:13 AM (in response to Paolo Jerome)Glad, it worked!!!
-
13. Re: line-height problem in publishing after update!
LARV Oct 10, 2014 2:03 AM (in response to vivekuma)Vivekuna,
When I look in a publish folder, I can´t find the edge_includes folder? Do you know what I´m doing wrong?
It´s outside the web folder for me. -
14. Re: line-height problem in publishing after update!
vivekuma Oct 10, 2014 2:07 AM (in response to LARV)Hi LARV,
You couldn't see that folder, because you have enabled the CDN option for edge runtime while publishing the composition.
So, try this another workaround,
Put this code in the compositionReady event handler:
sym.$("Text").css({"line-height":"40px"});
hth,
Vivekuma
-
15. Re: line-height problem in publishing after update!
LARV Oct 10, 2014 2:51 AM (in response to vivekuma)Sorry, but where do I find the compositionReady event handler?
-
16. Re: line-height problem in publishing after update!
vivekuma Oct 10, 2014 3:25 AM (in response to LARV) -
17. Re: line-height problem in publishing after update!
LARV Oct 10, 2014 3:49 AM (in response to vivekuma)Thank you very much!
I have no idea if it works or not cause in my browser sometimes texts are correct and sometimes not. As for now they showed correct even before inserting your code. It´s when other people open it up that things change. And the changes seem to be different for different viewers.
Short questions regarding this:ts:
1. What´s the difference between the code you gave me and the "textShadow" with ts:"textStyle" you gave that other guy?
2. Should I always insert the code you gave me before starting a new project? So this problem doesn´t happen along the way?
-
18. Re: line-height problem in publishing after update!
vivekuma Oct 10, 2014 4:20 AM (in response to LARV)Fisrt, this problem only happens in the published content which has edge runtime js file in minified form.
There is one issue with the minification due to which this issue happens.
1. What´s the difference between the code you gave me and the "textShadow" with ts:"textStyle" you gave that other guy?
Since your edge runtime code is hosted in CDN which we don't have acces to modify, that's why you need to add one line extra code. If edge runtime is hosted in your server itself then you can modify it as I suggested earlier. But I would recommend to add extra one line code, which will be cleaner way to do it.
2. Should I always insert the code you gave me before starting a new project? So this problem doesn´t happen along the way?
You can add this one line to every new project if it's using line-height. One we fix the issue in the next release, you no longer need to do that then. But till then, use it.
-Vivekuma
-
19. Re: line-height problem in publishing after update!
LARV Oct 10, 2014 8:01 AM (in response to vivekuma)Thank you very much.
-
20. Re: line-height problem in publishing after update!
CPBTenner Oct 10, 2014 11:28 AM (in response to vivekuma)Is this edge.5.0.0.min.js a general .js file that works with all Edge Animate creations or is it created project specific?
I am just thinking if I can save a corrected .js file and use it to replace the new one every time I publish it would save me from having to go in and change the code each time.
Brandon
-
21. Re: line-height problem in publishing after update!
vivekuma Oct 10, 2014 11:33 AM (in response to CPBTenner)This is specific to Edge Animation version, and all composition created by that particular version will create the same file.






