Download & Extend

Tinymce not defined with no tinymce

Project:Autosave
Version:5.x-3.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

Looking pretty good! So far only one issue.

I am not running Tinymce and am getting the following error on line 37 of autosave.js.

tinyMCE is not defined
saveForm()
tinyMCE.selectedInstance.selection.moveToBookmark(editorBookmark);

Following the js error the form will not autosave again.

Comments

#1

Priority:normal» critical

Because of this bug, autosave doesn't work without TinyMCE. This patch fixes this.

AttachmentSize
autosave.patch 625 bytes

#2

Status:active» needs review

#3

thanks for the patch Dave; this is now included in latest rev (5.x-3.2)

#4

Status:needs review» fixed

#5

Status:fixed» needs review

Actually, I still had problems running without tinymce. It would complain that tinyMCE.selectedInstance was null. I've got a fix.

AttachmentSize
autosave-without-tinymce.diff 1.48 KB