On Thu, Jan 22, 2009 at 2:57 PM, Mike Driscoll <[email protected]> wrote:
>
> Hi,
>
> So are there any WYSIWYG or WordPress type pre-made widgets for doing
> this sort of thing? If I need to roll my own, is there an API to use
> to tell where my cursor is or if I have a selection? In wxPython I
> would just do someCtrl.GetSelection() and then change it as needed and
> paste it back with the appropriate setter.

well in web land that is very different as they are pure JS, all mayor
frameworks have one. and you have several "standalone" tinymce,
fckeditor, wymeditor, kupu (in reverse order or greatness) as well as
several non-wysi UI frontends for textile, rest, markdown, etc.

WordPress is not a widget, your probably asking for it's editor which
I believe is/was a heavily modified version of tiny.

>
> I found tw.tinymce, but it doesn't have docs and it doesn't say if it
> works with TG2.0 either.

everything in the tw (toscawidgets) namespace works with tg2, unless
it says so (I haven't seen the first public one)

well you don't really need docs for it, you simply add it to a tw form
and your done.

if you are looking for "integrated components" this is the place
http://toscawidgets.org/hg but keep in mind this is only UI you need
to code the storage, data cleanup, spam checking,etc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to