google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Page editors should be decoupled from code #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It will be better if page editors will be decoupled from other code.

You can introduce an option:

PAGE_EDITORS = [ 'package.widgets.WYMEditor','package.widgets.TinyMce' ]

I have looked over your code: it will be really simple to do.

Benefits of this approach:
1. User can customize, add new widgets (such as WYMEditor with integrated 
filebrowser)
2. User can reuse your widgets in own applications. It is important for 
project to use same editor in all of it's parts. So as soon as i'm 
developing complex site with custom apps, I want to reuse common widget in 
all cases.

Thank you, your app is best for pages:)

Original issue reported on code.google.com by alexey.kvirc@googlemail.com on 24 Feb 2009 at 7:52

GoogleCodeExporter commented 9 years ago
Sound like a good idea. Feel free to provide a patch for that.

Original comment by batiste....@gmail.com on 24 Feb 2009 at 1:51

GoogleCodeExporter commented 9 years ago
Since there is another ways to do that for example by providing the full path 
for the
widget, I decided to close this bug

Original comment by batiste....@gmail.com on 13 Jun 2009 at 12:29