Bug #59692
closed
edit_wideDocument was removed, bring it back - reloaded
Added by Jan Loderhose over 10 years ago.
Updated about 6 years ago.
Category:
Backend User Interface
Description
According to issue Bug #57295 (Resolved): Remove option "edit_wideDocument" (http://forge.typo3.org/issues/57295) "the historical option wide Document can be safely removed, as the wide screen options from 10 ys ago are default by now."
Well, rtehtmlarea still relies on this option in TYPO3 6.2.3 and refers to in both, in source code and documentation ...
/typo3/sysext/rtehtmlarea/Classes/Controller/FrontendRteController.php:
/typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php
http://docs.typo3.org/typo3cms/extensions/rtehtmlarea/6.2/Configuration/UserTsconfig/Index.html
The result is silent ignorance of the officially documented options.
What's wrong here? Core implementation or core extension implementation and documentation?
I see that the option is still mentioned in the docs, but I can't find it in the code. Can you please guide me there? Thanks
My bad! I posted this issue with haste and mixed things up ... Very sorry!
To get the whole/right context please have a look at https://review.typo3.org/#/c/28769/4/typo3/sysext/backend/Classes/Form/FormEngine.php. On line 659 a variable docLarge is set depending on edit_wideDocument. docLarge is the variable that rtehtmlarea still refers to.
[xxx]:/srv/typo3/typo3src/typo3_src-6.2.3> grep -r docLarge .
./typo3/sysext/rtehtmlarea/Classes/Controller/FrontendRteController.php: $width = 460 + ($this->TCEform->docLarge ? 150 : 0);
./typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php: $RTEWidth = $RTEWidth + ($this->TCEform->docLarge ? [...]
./typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php: $RTEHeight = $RTEHeight + ($this->TCEform->docLarge ? [...]
Thanks for attending to this issue. :-)
Hell yeah. Good catch. Thanks a lot. Will do a followup on this.
- Category set to Backend User Interface
- Status changed from New to Accepted
- Assignee set to Markus Klein
- Target version set to next-patchlevel
- Complexity set to easy
- Is Regression changed from No to Yes
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF