Feature #17813

Enable htmlArea RTE in Safari

Added by Stanislas Rolland over 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:2007-11-19
Priority:Should have Due date:
Assignee:Stanislas Rolland % Done:

0%

Category:-
Target version:-
TYPO3 Version: Complexity:
PHP Version:
Votes: 0

Description

Enable htmlArea RTE in Safari.

(issue imported from #M6769)

rtehtmlarea_feature_6769.patch (15.9 kB) Administrator Admin, 2007-11-20 00:00

rtehtmlarea_feature_6769_2.patch (8.2 kB) Administrator Admin, 2007-11-20 23:51


Related issues

related to Core - Bug #17828: RTEhtmlarea doesn't work with IRRE anymore Closed 2007-11-21

History

Updated by Stanislas Rolland over 5 years ago

Committed in SVN TYPO3core trunk, revision 2735

Updated by Ingo Renner over 5 years ago

reopened as it doesn't work on Mac OS X yet

Updated by Ingo Renner over 5 years ago

  • works on Windows with Safari 3.0.4 (523.12.9)
  • works on Mac OS X with Webkit Nightly (www.webkit.org) r27895
  • DOES NOT work on Mac OS X with Safari 3.0.4 (5523.10)

Here's the log dump:
[HTMLArea::init]: All scripts successfully loaded.
[HTMLArea::init]: Editor url set to: /typo3/sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: /typo3/sysext/t3skin/rtehtmlarea/htmlarea.css
[HTMLArea::init]: Editor content skin CSS set to: http://www.area52.loc/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::registerPlugin]: Plugin TableOperations was successfully registered.
[HTMLArea::registerPlugin]: Plugin ContextMenu was successfully registered.
[HTMLArea::registerPlugin]: Plugin TYPO3Browsers was successfully registered.
[HTMLArea::registerPlugin]: Plugin FindReplace was successfully registered.
[HTMLArea::registerPlugin]: Plugin RemoveFormat was successfully registered.
[HTMLArea::registerPlugin]: Plugin CharacterMap was successfully registered.
[HTMLArea::registerPlugin]: Plugin DynamicCSS was successfully registered.
[HTMLArea::registerPlugin]: Plugin DefaultInline was successfully registered.
[HTMLArea::registerPlugin]: Plugin InlineCSS was successfully registered.
[HTMLArea::generate]: Toolbar successfully created.
[HTMLArea::generate]: Editor iframe successfully created.
[HTMLArea::initIframe]: Iframe baseURL set to: http://www.area52.loc/typo3/
[HTMLArea::initIframe]: Skin CSS set to: http://www.area52.loc/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::initIframe]: Override CSS set to: http://www.area52.loc/typo3temp/rtehtmlarea/defaultPageStyle_a13f2b8904140f8e593c.css
[HTMLArea::initIframe]: Content CSS set to: http://www.area52.loc/typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.css
[HTMLArea::initIframe]: Editor iframe head successfully initialized.
[HTMLArea::initIframe]: Stylesheets successfully loaded.

The web inspector show the following:

TypeError: Null value
typo3temp/rtehtmlarea/someTempFile.js (see attached file)
Line 1129

Updated by Ingo Renner over 5 years ago

works now after clearing the browser's cache and typo3temp/rtehtmlarea

thanks a lot, awesome job!!!

Updated by Stanislas Rolland over 5 years ago

Before testing a new version of htmlArea RTE, always delete all files in typo3temp starting with 'rtehtmlarea_' or, since TYPO3 4.2 alpha2, all files in typo3temp/rtehtmlarea.

Updated by Stanislas Rolland over 5 years ago

A second patch with further adjustments and workarounds to enable htmlArea RTE in Safari.

Committed to SVN TYPO3core trunk as revision 2742.

Updated by Martin Kutschker over 5 years ago

I think there is a typo in the first patch.

htmlarea.js:

There used to be a break after
case "LeftToRight":
case "RightToLeft":

But now this break is within the new if(!text){}. I think this is wrong as the flow of execution would pass on to

case "Paste":

Updated by Stanislas Rolland over 5 years ago

Indeed!

Fixed in SVN TYPO3core trunk, revision 2776

Also available in: Atom PDF