Article Story editor

0 views
Skip to first unread message

Michael Newman

unread,
Mar 31, 2008, 7:45:04 PM3/31/08
to Penny Press developers
Articles are kind of boring. We can just have a few fields that need
to be filled out at any point to create and article. One thing that I
think we need however is a WYSIWYG editor for the stories.

This is simple enough with any various library out there and you can
easily create a new field that will overwrite the textarea field for
the story. This, BTW, will get a lot simpler with Newforms admin.

I see the need for this editor to do a few basic things:

- Insert paragraph tags around each paragraph
- Blockquotes around blockquotes
- List items (ul and ol)
- Allow simple insertion of links (anchor tags) in the text
- Put includes (media, images, related stories, etc) inside the text

I really like the way that Ellington handles includes by putting tags
into the story and allows you to add custom classes. This involves
some sort of custom renderer.

I think that there should also be two views, code view and WYSIWYG
view. I like the way that TinyMCE allows the user to create custom
styles that can be applied to text for the WYSIWYG that is site
specific. TinyMCE is a little buggy though and is tough to configure.
YUI is my library of choice right now. I feel like YUI with lot's of
customizations could take care of all this for us. I especially would
like to see this[1] style inline selector.

What do you guys think? I really think this is an area that would make
this accepted by the typical newspaper over the digital media staff at
a newspaper.

Mn

1)http://developer.yahoo.com/yui/examples/editor/
imagebrowser_editor.html

Eric Moritz

unread,
Apr 2, 2008, 1:22:47 PM4/2/08
to Penny Press developers
I think we should hold off on this and see what the community creates
with NFA. I personally think it's a low priority.

Michael

unread,
Apr 2, 2008, 1:35:22 PM4/2/08
to django-pennypr...@googlegroups.com
I agree this should be a priority as penny-press begins the merge to NFA.

Eric Moritz

unread,
Apr 3, 2008, 12:07:51 AM4/3/08
to Penny Press developers
If we decide to make the content of a story xml, maybe we should
borrow the NITF body.content child tags for formatting?

http://www.nitf.org/IPTC/NITF/3.4/documentation/nitf-documentation.html#body.content

That way we don't have to define our own definition.

On Apr 2, 1:35 pm, Michael <newmani...@gmail.com> wrote:
> I agree this should be a priority as penny-press begins the merge to NFA.
>
Reply all
Reply to author
Forward
0 new messages