﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
10515	TinyMCE spellchecker markup disappears during auto-save	rsmudge	AO	"The WordPress spell checker strips the spellchecker markup during an auto-save event.  

How to reproduce?

1. Type: ""I can't spel, AO plz help."" into the WordPress Visual Editor
2. Click the spellcheck button.
3. Wait for the auto-save.

What happened?

On auto-save the before get content event is fired and the spellchecker removes the markup for the misspelled words.  

http://wiki.moxiecode.com/index.php/TinyMCE:API/tinymce.Editor/onBeforeGetContent

This is the only good client side time for the spellchecker to strip its markup from a post.  A possible work around is to do the stripping on the server side but this is extremely error prone.  

Suggested fix:

Consider updating TinyMCE to pass a why parameter to onBeforeGetContent or at least setting some property readable editor propery before auto-save and unsetting it afterwards.  This will allow plugins that choose to look at these values to not strip their markup during an auto-save event."	defect (bug)	closed	normal	2.9	TinyMCE	2.8	normal	fixed	upstream	
