http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692015-11-18T11:33:02ZTYPO3 ForgeTYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=2867332015-11-18T11:33:02ZMartin R. Krausemartin.r.krause@gmx.de
<ul><li><strong>Target version</strong> set to <i>7 LTS</i></li></ul><p>In fact the whole TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController class is not working properly. I debugged the issues and it is a miracle that the LinkBrowser for the RTE works at all.</p>
<p>In TYPO3 7.5 configuring classes for links was still possible, now the link property for classes does not show up at all.</p>
<p>The class BrowseLinksController that inherits from AbstractLinkBrowserController does not load the configuration. The order is wrong (e.g. $this->RTEProperties is not set at all, should be $RTEsetup['properties'] in method initVariables()). The $this->currentLinkHandlerId is never set, therefor button classes configuration could not be found etc.</p>
<p><strong>Proposal for solution</strong></p>
<p>The RTE should not have link configurations on its own anyway. It always was very tedious to configure both link handler (for RTE and TCA Link Wizard). Now that we have the TCEMAIN.linkhandler configuration in PageTS, this should also be the place to configure link options (classes, target, etc.). Getting rid of the cryptic RTE configuration for links would simplify integration and the development of the LinkHandler classes. In the RTE no <a /> should be added, just TYPO3 <link /> tags that have a syntax that is consistent with typolink.</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=2875862015-11-23T20:23:38ZAndreas Allacher
<ul></ul><p>Added <a class="issue tracker-1 status-5 priority-3 priority-lowest closed child" title="Bug: TSconfig: RTE.classesAnchor seems not to be working anymore (Closed)" href="http://forge.typo3.org/issues/71248">#71248</a> as related.<br />I don't think it is a duplicate as it is related to different properties but maybe the same solution works (not tested - maybe someone wants to test, if so this ticket could be added in Resolves list)</p>
<p>Regarding currentLinkHandlerId there is another property for that (displayLinkHandlerId) which should be used instead, see also attached patch for related ticket.</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=2886082015-11-30T11:49:29ZEric Chavaillaz
<ul></ul><p>Hi,</p>
<p>The problem is described here : <a class="external" href="https://forge.typo3.org/issues/71978">https://forge.typo3.org/issues/71978</a></p>
<p>Thanks</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=2903022015-12-18T11:28:01ZStephan Bruns.b@agentur-frontal.ch
<ul></ul><p>targetSelector.disabled works with 7.6.1</p>
<p>Could not test the other two options.</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=2908452015-12-23T11:23:30ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Target version</strong> changed from <i>7 LTS</i> to <i>Candidate for patchlevel</i></li></ul> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=3037352016-05-05T21:45:35ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>These are my findings:</p>
<a name="6222"></a>
<h3 >6.2.22<a href="#6222" class="wiki-anchor">¶</a></h3>
<p>RTE.default.buttons.link.targetSelector.disabled = 1 <strong>WORKS</strong><br />RTE.default.buttons.link.popupSelector.disabled = 1 <strong>DOES NOT WORK</strong> (tested with RTE.default.buttons.link.targetSelector.disabled = 0)<br />RTE.default.buttons.link.options.removeItems = folder <strong>WORKS</strong></p>
<a name="766"></a>
<h3 >7.6.6<a href="#766" class="wiki-anchor">¶</a></h3>
<p>RTE.default.buttons.link.targetSelector.disabled = 1 <strong>WORKS</strong><br />RTE.default.buttons.link.popupSelector.disabled = 1 <strong>DOES NOT WORK</strong> (tested with RTE.default.buttons.link.targetSelector.disabled = 0)<br />RTE.default.buttons.link.options.removeItems = folder <strong>WORKS</strong></p>
<a name="82-dev"></a>
<h3 >8.2-dev<a href="#82-dev" class="wiki-anchor">¶</a></h3>
<p>RTE.default.buttons.link.targetSelector.disabled = 1 <strong>WORKS</strong><br />RTE.default.buttons.link.popupSelector.disabled = 1 <strong>DOES NOT WORK</strong> (tested with RTE.default.buttons.link.targetSelector.disabled = 0)<br />RTE.default.buttons.link.options.removeItems = folder <strong>WORKS</strong></p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=3547972018-01-12T23:51:26ZChristian Kuhnlolli@schwarzbu.ch
<ul><li><strong>Assignee</strong> deleted (<del><i>Christian Kuhn</i></del>)</li></ul> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=3970522019-03-24T12:48:45ZBenni Mackbenni@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-lowest closed" href="/issues/71978">Bug #71978</a>: $RTEProperties is never initialized</i> added</li></ul> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=3970552019-03-24T12:49:36ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Does this also occur with CKeditor?</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=4022632019-06-21T21:48:36ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>Hi Benni, I can answer you :)</p>
<p>Tried with latest 10.0.0-dev</p>
<p><code>RTE.default.buttons.link.targetSelector.disabled = 1</code> <strong>WORKS</strong><br /><code>RTE.default.buttons.link.popupSelector.disabled = 1</code> <strong>DOES NOT WORK</strong> (tested with RTE.default.buttons.link.targetSelector.disabled = 0)<br /><code>RTE.default.buttons.link.options.removeItems = folder</code> <strong>WORKS</strong></p>
<p>I am not entirely sure that <code>RTE.default.buttons.link.popupSelector.disabled = 1</code> is even present on TYPO3 versions 7.6.x or higher, maybe it has been removed?</p>
<p>Either I am looking at the wrong place, or the documentation here: <a class="external" href="https://docs.typo3.org/typo3cms/extensions/rtehtmlarea/7.6/Configuration/PageTsconfig/interfaceConfiguration/Index.html">https://docs.typo3.org/typo3cms/extensions/rtehtmlarea/7.6/Configuration/PageTsconfig/interfaceConfiguration/Index.html</a> does not mention it (It does on the documentation of version 6.2)</p> TYPO3 Core - Bug #71609: RTE Options dont workhttp://forge.typo3.org/issues/71609?journal_id=4202592020-03-24T15:35:37ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>The one Riccardo mentioned as not working has been removed - see <a class="external" href="https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.5/Important-69137-LinkWizardPopupWidthAndHeightFieldsRemoved.html">https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.5/Important-69137-LinkWizardPopupWidthAndHeightFieldsRemoved.html</a> - as the others now work, I'm closing this issue.</p>