Maushundb / quick-editor

This repo has been DEPRECATED. Please use https://atom.io/packages/code-peek
MIT License
25 stars 6 forks source link

Quick Editor contents not visible #16

Open iabw opened 8 years ago

iabw commented 8 years ago

I saw the space for the quick editor, but not the contents. I found that for it to show up, I had to add this to my styles.

.quick-editor atom-text-editor {
    height: 100%;
}
siilak commented 8 years ago

Nice :+1:

samlopez-dev commented 8 years ago

We should not have to add anything to our styles. If that can be fixed and add a few more features, this can be a great package!

mike-source commented 8 years ago

Occasionally I can get something popping up at the bottom with the option to 'add style' but the button doesn't work... adding the above css to my styles changes nothing.

I don't really know where to start with debugging but am keen to help out.

Basically I highlight a class, right click and 'quick-edit' and nothing happens... I am working on Wordpress and Magento projects I have no idea how this would be able to find my .scss files.

I've tried putting a path (to where my .scss files sit) relative to the project root in the Styles Directory setting... with and without leading / (does it need to be a full path relative to the root of my hard drive? do I need to update this setting each time I switch projects? how does it work when that setting is empty, just by searching for .scss files?).

My styles directory has a main.scss which links to various .scss files in subdirectories, if I could eliminate the strong possibility I've just set it up wrong I might be able to shed some light.

I'm in Atom 1.7.4.

Glad someone is working on this functionality for Atom though, it's great in Brackets.

Maushundb commented 8 years ago

@iabw would you mind submitting a pull request if this fixes stuff?