Letractively / sagenb

Automatically exported from code.google.com/p/sagenb
0 stars 0 forks source link

broken pasting of large text cells (old tinymce?) #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Selecting a largish text cell content and then pasting the selection into a new 
text cell creates a broken, "rotated around" content, e.g. the bottom paragraph 
gets placed at the top...

The 1st thing to do would be to upgrade to TinyMCE 3.4.5 (current as of today), 
whereas sagenb uses TinyMCE 3.4.1 (6 months old)

Original issue reported on code.google.com by dimp...@gmail.com on 14 Sep 2011 at 5:41

GoogleCodeExporter commented 8 years ago
After pasting, in the new notebook, the cursor seems to be put at the top (or 
maybe the cursor position goes away), so that any new text gets pasted into the 
top of the cell.  This doesn't happen for our ancient TinyMCE in the old 
notebook.

Original comment by jason-go...@creativetrax.com on 6 Oct 2011 at 10:44

GoogleCodeExporter commented 8 years ago
It does look like some pasting bugs have been fixed in TinyMCE since 3.4.1: 
http://tinymce.moxiecode.com/js/tinymce/changelog.txt

Original comment by jason-go...@creativetrax.com on 6 Oct 2011 at 11:10

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 6 Oct 2011 at 11:24

GoogleCodeExporter commented 8 years ago
I upgraded TinyMCE to 3.4.6 in this commit: 
http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=4891ee8539ccae8
ec34fb0f088c1be3241e5a6e2

It seems to fix the problem with paste not putting the cursor at the end of the 
text.  I bet it fixes the described problem too.

Original comment by jason-go...@creativetrax.com on 7 Oct 2011 at 4:10

GoogleCodeExporter commented 8 years ago
William reviewed the latest git notebook.

Original comment by jason-go...@creativetrax.com on 10 Jan 2012 at 4:14