On a related topic. The html wysiwyg editor that comes with admin has
a major problem. It escapes URLS. This is a probem since URL may
include code like {{=URL(...)}} that should not be escaped. It would
be great if somebody could look into this.

On Jan 25, 9:18 am, selecta <gr...@delarue-berlin.de> wrote:
> i wrote it downhttp://www.web2pyslices.com/main/slices/take_slice/54
> however some elements are not coverted to markdown or back
> eg. underline and strikethrough is converted to markdown but not from
> markdown to html
>
> here is another converter that I dismissed for some reason i do not
> rememberhttp://www.codefu.org/wiki/Main/Html2markdown
>
> On Jan 25, 3:56 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
>
> > so you convert your markdown back into html to feed to the WYSIWYG editor?
>
> > -Thadeus
>
> > On Mon, Jan 25, 2010 at 7:54 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > > html2text is interesting... opens many possibilities.
>
> > > On Jan 25, 6:16 am, selecta <gr...@delarue-berlin.de> wrote:
> > >> success
>
> > >> I 
> > >> usedhttp://www.aaronsw.com/2002/html2text/andhttp://code.google.com/p/jwy...
>
> > >> in the view I write
> > >> form part:
> > >> <script type="text/javascript"> $('#no_table_body').wysiwyg(); </
> > >> script>
> > >> this replaces the textarea on every ajax reload of the plugin the the
> > >> jquery editor
>
> > >> display part:
> > >> {{import gluon.contrib.markdown}}
> > >> {{=gluon.contrib.markdown.WIKI(row.body)}}
> > >> like in the wiki example
>
> > >> in the cotroller I write on form.acceppt
> > >> form.vars.body = html2text.html2text(form.vars.body)
>
> > >> ta ta WYSIWYG Markdown!
>
> > >> On Jan 25, 11:31 am, selecta <gr...@delarue-berlin.de> wrote:
>
> > >> > thanks "searialize" was the keyword that was missing in my queries for
> > >> > an answer
> > >> > here is I guess the missing puzzle 
> > >> > peacehttp://maestric.com/doc/javascript/tinymce_jquery_ajax_form
> > >> > will try it now, I will let you know if a get a wysiwyg markdown
> > >> > editor working :)
>
> > >> > On Jan 25, 2:17 am, Thadeus Burgess <thade...@thadeusb.com> wrote:
>
> > >> > > i think the problem is these editors actually replace the textarea so
> > >> > > it does not serialize when you are submitting via ajax.
>
> > >> > > -Thadeus
>
> > >> > > On Sun, Jan 24, 2010 at 4:41 PM, selecta <gr...@delarue-berlin.de> 
> > >> > > wrote:
> > >> > > > not an option i want wysiwyg, it seems to be possible so i want it
>
> > >> > > > On Jan 23, 5:59 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> > >> > > >> Have you ever thought of just using markdown/WIKI syntax and 
> > >> > > >> using a
> > >> > > >> markdown editor such as WMD or others like it ?
>
> > >> > > >> -Thadeus
>
> > >> > > >> On Sat, Jan 23, 2010 at 6:54 AM, selecta 
> > >> > > >> <gr...@delarue-berlin.de> wrote:
> > >> > > >> > Hi there,
> > >> > > >> > I tried to usehttp://nicedit.com/andhttp://ckeditor.com/demoinmy
> > >> > > >> > project. Both work well when the form is submitted normally but 
> > >> > > >> > both
> > >> > > >> > do not work when the form is submitted via ajax (plug-in). On 
> > >> > > >> > an ajax
> > >> > > >> > submit the form content of the editor is always empty. Can you 
> > >> > > >> > give me
> > >> > > >> > assistance on how to make it work.
> > >> > > >> > I could create a test project with that if it would help, but 
> > >> > > >> > maybe
> > >> > > >> > the answer is simpler, I would also use a different wysiwyg 
> > >> > > >> > edit (as
> > >> > > >> > long as it looks nice and has enough functions)
>
> > >> > > >> > so far i found
> > >> > > >> >http://nicedit.com/
> > >> > > >> >http://ckeditor.com/demo
> > >> > > >> >http://jhtmlarea.codeplex.com/
> > >> > > >> >http://avidansoft.com/dsrte/index.php
> > >> > > >> >http://www.upian.com/upiansource/ueditor/en
> > >> > > >> > but i don't want to test them all since i expect that all of 
> > >> > > >> > them will
> > >> > > >> > have the same problem
>
> > >> > > >> > Together with the html2makdown python module this would really 
> > >> > > >> > come in
> > >> > > >> > handy :)
>
> > >> > > >> > --
> > >> > > >> > You received this message because you are subscribed to the 
> > >> > > >> > Google Groups "web2py-users" group.
> > >> > > >> > To post to this group, send email to web...@googlegroups.com.
> > >> > > >> > To unsubscribe from this group, send email to 
> > >> > > >> > web2py+unsubscr...@googlegroups.com.
> > >> > > >> > For more options, visit this group 
> > >> > > >> > athttp://groups.google.com/group/web2py?hl=en.
>
> > >> > > > --
> > >> > > > You received this message because you are subscribed to the Google 
> > >> > > > Groups "web2py-users" group.
> > >> > > > To post to this group, send email to web...@googlegroups.com.
> > >> > > > To unsubscribe from this group, send email to 
> > >> > > > web2py+unsubscr...@googlegroups.com.
> > >> > > > For more options, visit this group 
> > >> > > > athttp://groups.google.com/group/web2py?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "web2py-users" group.
> > > To post to this group, send email to web...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > web2py+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to