msavin / Mongol-meteor-explore-minimongo-devtools

In-App MongoDB Editor for Meteor (Meteor DevTools)
http://play.with.meteor.toys
825 stars 40 forks source link

Spaces appearing in mongol property names, editing issues #126

Closed ArcaneEngineer closed 8 years ago

ArcaneEngineer commented 8 years ago

Disclaimer: The live demo appears to work fine for me.

I'm getting a ton of spaces both before and after each property name - so much so that I can't see the name without scrolling way over to the right, which is extremely tedious while trying to work.

I also can't seem to edit things properly, for example, I create a new entry in a collection, but when I hit update document, I cannot click or use the keyboard to move my cursor between the braces so I can add new properties. Which obviously completely stymies me.

Lastly I see that my Mongol doesn't look like the demo version, which shows the version at the top. Mine shows nonesuch. Also the fonts and syntax highlighting look different so maybe I have an older version. I see no difference between meteor add msavin:mongol and the MeteorToys 2.0.0 version.

There are no errors visible in Windows console interface from which I run meteor.

It's all rather strange and I think it has to do with discrepancies in my setup. If you could tell me what info to provide to help solve this, I'd be happy to supply!

This happens on FF 43 and Chrome 47. Meteor version 1.2.1.

ArcaneEngineer commented 8 years ago

Alternatively, I'd be happy to just get an install package that works with mongol.

msavin commented 8 years ago

Thanks for the alert, I will look into it soon. Can you please try a clean app and see if the issue persists? If so, a list of your packages would be helpful to start.

Sent from my iPad

On Jan 12, 2016, at 5:03 PM, Arcane Engineer notifications@github.com wrote:

This is not related to browser, just got a fresh install of chrome and am seeing same thing.

— Reply to this email directly or view it on GitHub.

ArcaneEngineer commented 8 years ago

Thanks msavin, a fresh app fixed it. Doh.

proj.zip

It's odd, since the original project - attached - was very simple. I probably did something stupid - new to meteor. Anyway, we can close unless you want to look into what was causing that...

ArcaneEngineer commented 8 years ago

The "many spaces" was a CSS issue - of my own making (see final entry in CSS).

ArcaneEngineer commented 8 years ago

Alright, having removed the annoying "spaces" part of this issue, I'm re-opening as I can now see no reason why the editing should not be working - Basically everything is fresh, including HTML & JS with no CSS. Packages: packages.txt

I try to edit and simply can't get between the braces! It's insane!

ArcaneEngineer commented 8 years ago

OK... Editing is a Firefox issue, or at least my local FF config does not allow me to edit. In Chrome, with the "spaces" issue resolved, I can now edit just fine. That's good enough for me.

I'll leave this open as you may want to look at what's causing the problem in FF - attached simple test. test.zip

msavin commented 8 years ago

Hey - thanks for the tip - I've tried to replicate but could not. I recall Firefox has a quirk with contenteditable, but trying now on a new version does not seem to have any issues. If it continues, please let mek now.