TinyAutoSave Plugin - help needed

TinyAutoSave Plugin - help needed

by Ben Chenoweth -
Number of replies: 2

Hi there,

I am trying to convert TinyAutoSave (https://code.google.com/p/tinyautosave) into a proper Moodle (2.8.3) TinyMCE plugin.  But I am having a lot of difficulty.  (This is my first Moodle plugin.)

I've attached what I have so far.  It successfully installs into Moodle and the settings page appears to work.  But I can't get the button to appear in the TinyMCE editor toolbar no matter what I do.  And without the button I can't test whether the actual autosave happens.

If anyone can help me, that would be great!

Sincerely,

Ben.

Average of ratings: -
In reply to Ben Chenoweth

Re: TinyAutoSave Plugin - help needed

by Ben Chenoweth -

Don't worry.  I worked out how to activate the built-in TinyMCE plugin:


On the "General Settings" page of the TinyMCE HTML Editor section of the Plugins menu, I added

,wrap,restoredraft

at the end of the first line in the Editor toolbar box.  Then I put

{"plugins" : "lists,table,style,layer,advhr,advlink,emotions,inlinepopups,searchreplace,paste,directionality,fullscreen,nonbreaking,contextmenu,insertdatetime,save,iespell,preview,print,noneditable,visualchars,xhtmlxtras,template,pagebreak,autosave"}

in the Custom Configuration box.


After purging all caches, the new button appears at the end of the first row.

In reply to Ben Chenoweth

Re: TinyAutoSave Plugin - help needed

by Clay Burell -

Does this work to autosave TinyMCE in 3.1.2? If so, do I just install the zip into TinyMCE folder on "install plugins" and add what you did above in the TinyMCE configuration page?

Would be great if it autosaved. Like it so much more than Atto--especially for the tables.