Text editors

TinyAutoSave Plugin - help needed

 
Picture of Ben Chenoweth
TinyAutoSave Plugin - help needed
 

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: -
Picture of Ben Chenoweth
Re: TinyAutoSave Plugin - help needed
 

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.

 
Average of ratings: -
cb userpic w harvey
Re: TinyAutoSave Plugin - help needed
Group Testers

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.

 
Average of ratings: -