getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 227 forks source link

Idea: frontend editing capabilities #173

Open cord opened 9 years ago

cord commented 9 years ago

would be great to have some frontend editing capabilities, e.g. using http://getcontenttools.com

due to the markdown > html conversion there would be some limitations when editing a page structure, but being able to edit directly on page would be nice.

BugHunter2k commented 8 years ago

Because I'm planing to build a new site for our SportsClub that needs a easy way to create and edit content, I startet to integrate contenttools editor into my blog.

At the moment, I am able to launch the editor ;) no user verification and no saving is implmented so far. I will spend some time the weekend and try to implement saving.

rhukster commented 8 years ago

That's nicely implemented so far! I really like this a lot!

flaviocopes commented 8 years ago

Would be a great plugin for sure :)

mahagr commented 8 years ago

Dealing with markdown will be complex issue with this solution, which is why http://prosemirror.net/ looks like better solution with similar feature set.

BugHunter2k commented 8 years ago

Prosemirror looks nice too. Are there some more options? For me the UI of contenttools seems easier to use, especialy the placing of images is nicer. A big pro for prosemirror will be the easy markdown-export. Are there any thoughts from you?

I'm going on to implement the auth and saving, to delay the decision which editor to use.

BugHunter2k commented 8 years ago

Checking for valid user with frontend-editing access is implemened. I created an repository for the plugin where you can see the progress I make: https://github.com/BugHunter2k/grav-plugin-fred

BugHunter2k commented 8 years ago

Just stumbled accross another nice editor with markdown export: https://yabwe.github.io/medium-editor/ (With build in markdown extension:https://github.com/IonicaBizau/medium-editor-markdown) I Like the fact it is less than 10kb (minified)

Are there any thougths which one to choose?

BugHunter2k commented 8 years ago

got an early working version into my repository: https://github.com/BugHunter2k/grav-plugin-fred Have a look and try the demo in my dev. Also comment my code an tell me where I can do better :)

Still not sure which editor to choose, I will have a look at all three options.

BugHunter2k commented 8 years ago

After reviewing the metioned editors I stuck with contentTools. I'd like to explain my decision:

Going on to implement image-upload with contentTools now as I think it's an important part for easy editing. Let's see how far I get with that ;)

qwertologe commented 7 years ago

All plugins which implement additional features for the toolbar must work. So maybe the original editor (for frontend editing) is a must.