I'll try to review this today or tomorrow.

-M. Hampton

On Oct 18, 2:28 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Jason Grout wrote:
> > Recently I've been working on WYSIWYG editing for the text cells of
> > Sage.  I've made an spkg for the TinyMCE javascript editor.  The idea is
> > that you can double-click on any text cell and, in-place, a TinyMCE
> > editor pops up that lets you edit HTML code in a familiar word-processor
> > sort of environment.  I think this will make editing text in a worksheet
> > *much* easier and more accessible.
>
> Two patches and several spkgs are up 
> athttp://trac.sagemath.org/sage_trac/ticket/4267which do several things:
>
> 1. Update a bunch of javascript packages and move them from the extcode
> repository to somewhere under $SAGE_ROOT/local
>
> 2. Package TinyMCE for Sage
>
> 3. Make it so that shift-clicking on the "new cell" bar pops up TinyMCE
> to edit a new text cell.  Double-clicking on an existing text cell also
> pops up TinyMCE to edit the text.  Note that using math like $x^2$ and
> $$\int x^2 dx$$ works and invokes jsmath to render the output when you
> save the text cell.
>
> 4. Cleans up parts of the javascript code to use jquery where it is
> natural.  For example, I replaced the ajax framework with a single
> jquery call (and a few lines to set up the call).
>
> To review this, please apply the
> edit-in-place-and-javascript-spkgs.patch to your main 
> repository,http://sage.math.washington.edu/home/mabshoff/extcode-remove-javascri...
> to your extcode repository, and install the 5 spkgs listed on the ticket
> (well, you don't have to install the jsmath-image-fonts spkg).
>
> Whoever wants this functionality, it'd be great if you could review the
> patch and spkgs.
>
> Thanks,
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to