Index: typo3/sysext/t3editor/res/jslib/t3editor.js =================================================================== --- typo3/sysext/t3editor/res/jslib/t3editor.js (revision 10275) +++ typo3/sysext/t3editor/res/jslib/t3editor.js (working copy) @@ -278,6 +278,13 @@ && !Prototype.Browser.WebKit) { if (index == undefined) { + if (top.TYPO3.BackendUserSettings) { + top.TYPO3.BackendUserSettings.ExtDirect.set( + 'disableT3Editor', + checkbox.checked, + function(response) {} + ); + } $$('textarea.t3editor').each( function(textarea, i) { T3editor.toggleEditor(checkbox, i); Index: typo3/sysext/t3editor/classes/class.tx_t3editor.php =================================================================== --- typo3/sysext/t3editor/classes/class.tx_t3editor.php (revision 10275) +++ typo3/sysext/t3editor/classes/class.tx_t3editor.php (working copy) @@ -125,31 +125,11 @@ * @return void */ public function __construct() { - $this->checkEditorIsDisabled(); - // disable pmktextarea to avoid conflicts (thanks Peter Klein for this suggestion) $GLOBALS["BE_USER"]->uc['disablePMKTextarea'] = 1; } /** - * check if the t3editor should be disabled (by a POST value) - */ - protected function checkEditorIsDisabled() { - $editorIsDisabled = t3lib_div::_POST('t3editor_disableEditor'); - - if (!empty($editorIsDisabled)) { - $editorIsDisabled = ($editorIsDisabled == 'true'); - } else { - $editorIsDisabled = $GLOBALS['BE_USER']->uc['disableT3Editor']; - } - - if ($GLOBALS['BE_USER']->uc['disableT3Editor'] != $editorIsDisabled) { - $GLOBALS['BE_USER']->uc['disableT3Editor'] = $editorIsDisabled; - $GLOBALS['BE_USER']->writeUC(); - } - } - - /** * Retrieves JavaScript code (header part) for editor * * @param template $doc