Add "undo" icon to tinymce editor

Bug #548000 reported by Nigel-catalyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Darryl Hamilton

Bug Description

I just tried to add this. TinyMCE has such an icon, but in edit site pages, the adding of content to the editor when you change the dropdown counts as an action, and clicking undo then clears the editor. Ideally, it shouldn't count as an action.

Oh, also 'redo' should be added I guess.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3075&group_id=176&atid=739

Changed in mahara:
status: Confirmed → New
milestone: none → 1.3.0
Changed in mahara:
status: New → Confirmed
importance: Medium → Low
summary: - Add "undo" icon to tinymce editor
+ Add "undo" icon to tinymce editor
Changed in mahara:
milestone: 1.3.0 → none
Changed in mahara:
milestone: none → 1.4.0
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

There may be a solution (from the post from 2009-08-21 15:40:00 at http://tinymce.moxiecode.com/forum/viewtopic.php?id=12658 ):

----
ISSUE-> undo ruins fullpage tags

FIX-> 1 line modification of tiny_mce.js or tiny_mce_src.js in the UndoManager add:function()

CHANGE -> l.content = l.content || ed.getContent({format : 'raw', no_events : 1});

TO -> l.content = l.content || ed.getContent();
---

Revision history for this message
Darryl Hamilton (lordp) wrote :

The fix mentioned by Kristina above appears to have been put in place by the TinyMCE devs.

Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → Darryl Hamilton (lordp)
Darryl Hamilton (lordp)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.