-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FF 11 Support #218
Comments
Basically Jquery/ the browser is returning the background colour in rgb, I have altered the dialogHandlers.foreColor function to :
This sets the font color as expected... |
In Firefox the background is also not setting properly, for some reason I am getting some nested style elements... |
Ok, I did some research on this:
Is what actually appears in the tests (running on FF 12).. yeah, something should be done about that. But the font tag is FF doing it how it's been told. Mercury's specifically configured to not use styles if it can avoid it. |
Thanks for your code, it made the fix super easy. I just added the toHex call in the dialog handler and updated some tests. I also gave you credit for the commit. |
Thanks, glad I could help :) FYI: I managed an asp.net mvc integration quite easily in the end, we are only comfortable using chrome for the front end editor, not too happy with Firefox at the moment, will be testing out FF more later in the year - noticed too many things that were not right e.g. nested elements were appearing. What I am doing is using Mercury as a front end editor and creating a word like PDF on the backend, so all my markup has to be spot on, only Chrome did the job extremely well. The templates look amazing, I even managed to do some col re-sizing for tables, some reports look real nice, my boss was well happy with your library. We tried Aloha for a while and it simply was over complicated doing too many things.So thanks big time. |
I'm trying to integrate with asp.net MVC 3 and followed the guidelines in the wiki about using mercury without rails but I'm not able to edit the content. Can you please give some guidance on how to integrate with asp.net mvc? Thanks |
Never used asp.net mvc. So without additional info about how you have it setup and what mercury is attempting to do I can't help you. Gabe Varela On Sep 24, 2012, at 4:01 AM, pseudoname notifications@github.com wrote:
|
Hi Gabe, I put the mercury_loader.js file in a Scripts folder. I created a mercury I load a page inside an iframe. The page in the iframe needs to have Any help is greatly appreciated. Thanks Palak Chokshi @model Collective_li.Models.ItemViewModel
currentTitle + '" />').bind('blur', function (e) {
$imageTitle.height() - 12;
$('#ItemContent').parent().width();
}, 300);
content to edit');
'80px');
ResizeFullImage(
left:0;background-color:#FFFFFF;width:100%;z-index:1;"> @Model.Title @ @{ var sourceURLText = ""; if (String.IsNullOrEmpty(Model.SourceURL) || Model.SourceURL.Contains("collective.li")) { sourceURLText = "Created by " + Model.AuthorFirstName; } else {
target="_blank">@sourceURLText
data-authorid="@Model.AuthorID"> Fancy content here Some more fancy content On Mon, Sep 24, 2012 at 6:08 AM, Gabe Varela notifications@github.comwrote:
|
Is it just me or does FF not support setting the font colour?
Looking at the HTML Chrome (18.0.1025.162 m) gives me:
and FF gives me:
Firstly why font? and secondly why rgb?
Something is not right...
The issue: The colour is not set in FF, Chrome works fine
The text was updated successfully, but these errors were encountered: