matiu2 / witty-plus

A base application under http://webtoolkit.eu .. adds users and logins
8 stars 4 forks source link

Page plugin #18

Open matiu2 opened 12 years ago

matiu2 commented 12 years ago

Allows you to add basic 'pages' to a site.

A page is stored in the DB. It has a name and a body.

The body is stored in HTML.

editing is done real real in place using: http://www.webmonkey.com/2008/07/make_any_content_editable_with_javascript/

you could popup a little toolbox on the side panel that give you bold and italic buttons and an add link dialog and maybe some styles to choose from.

Where you clicked 'edit' and it changes to 'You are in edit mode' and then has a 'save' and 'cancel' buttons.

matiu2 commented 12 years ago

So I found out chrome supports ctrl+b and other shortcuts for styling. Very nice.