sorry to keep responding to my own post, but this stuff might be useful to others I hope:
The following link suggests that it's possible to protect certain elements within your pages such that they are not editable - that could be useful for protecting embedded python statements from being messed with while you edit your fancy HTML http://tinymce.moxiecode.com/examples/example_10.php TinyMCE has a plugin architecture and there are a lot of plugins - "codeprotect" works similiar to the above in that it protects embedded code from being messed with - only supports JSP, ASP and PHP at the moment though, but I think a tweak to the regex they are using could be all that's needed to support {{..}} statements. http://sourceforge.net/tracker/?func=detail&aid=2859676&group_id=103281&atid=738747 On Sep 27, 3:46 pm, Darcy Clark <[email protected]> wrote: > I tried integrating TinyMCE in place of NicEdit in htmledit and it > seems to work better - at least the HTML outputted was nicely > formatted and readable. It's actually trivial to integrate TinyMCE - I > used the instructions here > :http://wiki.moxiecode.com/index.php/TinyMCE:Installation > > One minor issue was that TinyMCE insisted on wrapping embedded python > statements in paragraph tags (<p>{{ ...}}</p> > > On Sep 26, 11:11 am, mdipierro <[email protected]> wrote: > > > I think we should. We need one that does not urlencode url since they > > may contain {{=URL(...)}}. > > > On Sep 25, 5:50 pm, Darcy Clark <[email protected]> wrote: > > > > Is it maybe possible to replace the htmledit control with an > > > alternative that does a better job of formatting HTML ? > > > > On Sep 25, 5:44 pm, Darcy Clark <[email protected]> wrote: > > > > > I'm using Version 1.67.1 - whenever I use the htmledit link to edit a > > > > view, then look at the generated source - all of the HTML is on one > > > > massive line - i.e. there are no <CR> characters or line endings. The > > > > htmledit feature is nice, but it would be even better if the HTML code > > > > that is generated was "prettier". > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

