ezsystems/ezpublish-legacy — pull request #800 by dpobel (2013-10-18 11:02:45+00:00)
Title: Fix EZP-21656: PSpell plugin fails with eZFormToken

# Description

The TinyMCE PSpell plugin generates AJAX POST request without the form token, as a result those requests always fail.

Unfortunately, the Spellchecker and the internal TinyMCE components (JSONRequest and XHR utilities) are not extensible at all, so this patch roughly overrides the TinyMCE's XHR utility to take into account the form token.

Note: the spellchecker plugin is the only one in Online Editor to generate POST request.

# Tests

manual tests