Project

General

Profile

Actions

Feature #15390

closed

Bug in rich text editor with IE 6.0

Added by Radovan Radic over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-01-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

Just downloaded QuickStart and tried RTE feature. There was problem with rich editor and there was no ability to open editor on button click. It seems the problem was in typo3/sysext/cms/layout/class.tx_cms_layout.php class, function is linkRTEbutton. It was creating link wizard_rte.php?&P[table]... and IE couldnt cope with it. I slighlty changed function on my own and now it works ok. There is modified function in Additional information. I would like that typo3 crew verifies this bug and perhaps solution.

function linkRTEbutton($row) {
$params = array();
$params['table'] = 'tt_content';
$params['uid'] = $row['uid'];
$params['pid'] = $row['pid'];
$params['field'] = 'bodytext';
$params['returnUrl'] = t3lib_div::linkThisScript();

$paramUrl = t3lib_div::implodeArrayForUrl('',array('P'=>$params));
if (strlen($paramUrl) > 0 && $paramUrl[0] == '&') {
$paramUrl = substr($paramUrl, 1);
}
$RTEonClick = "document.location='".$this->backPath."wizard_rte.php?".$paramUrl."';return false;";                
$addButton = $this->option_showBigButtons && $this->doEdit ? $GLOBALS['SOBE']->doc->t3Button($RTEonClick,$GLOBALS['LANG']->getLL('editInRTE')) : '';
return $addButton;
}

(issue imported from #M2230)

Actions #1

Updated by Christian Kuhn over 15 years ago

Unable to reproduce in current versions. Please add a new issue in project tx_rtehtmlarea if this is still valid.

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF