ellatrix / wp-front-end-editor

Front-end Editor for WordPress
https://wordpress.org/plugins/wp-front-end-editor/
340 stars 87 forks source link

Where is the Add Media button? #165

Closed bigkev1983 closed 10 years ago

bigkev1983 commented 10 years ago

There doesn't seem to be an 'Add Media' button anymore for adding photos, videos, etc. How can any of my users add media to a page now?

Also, when text is selected my only formatting choices for the text are H2 and H3 - what are all the other usual styles absent? E.g. Paragraph, H1, H1, H4?

ellatrix commented 10 years ago

Put your cursor in a new paragraph and click "add block".Of course I'm still working on improvements. I don't understand why you want "paragraph". Simply deactivate the other buttons and you'll have it. H1 is normally used for the title, so you shouldn't use this in you content. There should only be one H1. H4, H5 and H6 are all less used, but you can easily add those by adding a filter to your plugin/theme.

bigkev1983 commented 10 years ago

Thanks for the quick reply. I don't see 'add block' anywhere though - where is it supposed to appear?

ellatrix commented 10 years ago

In an empty paragraph. Do you see any JS errors?

bigkev1983 commented 10 years ago

I've got these errors but they don't look like they come from your plug-in...

Failed to load resource: the server responded with a status of 404 (Not Found) - wpspin_light-2x.gif Invalid CSS property declaration at line 224 - style_dynamic.php Invalid CSS property declaration at line 224 - style_dynamic.php

When I double click in a new paragraph, it highlights the line correctly and displays the formatting toolbar but I can't see 'add block' anywhere.

bigkev1983 commented 10 years ago

Just checked in Chrome - I do get get this error, hope it helps...

Uncaught TypeError: undefined is not a function (anonymous function) m.event.dispatch r.handle

That error seems to be to do with fee.min.js?ver=1.0.0-beta1:1 and also jquery.js?ver=1.11.1:2

bigkev1983 commented 10 years ago

Hi Avryl, I just tested the plug-in with one of the standard default works and I do add the 'Add block'. I'm using the Bridge theme by Qode and I also use Satellite7 by the same developer (which has the same problem) so there's probably just some incompatibility.

Is there a line of code I can add somewhere to get the 'Add block' back?