http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-05-14T16:32:32ZTYPO3 ForgeTYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4008272019-05-14T16:32:32ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Hey,</p>
<p>where to you add your lang attribute?</p>
<p>Can you provide your full RTE config + the example HTML that you tried out?</p>
<p>Thanks!</p> TYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4021782019-06-19T17:27:03ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>Maybe the solution is to install the "language" CKEditor plugin (already shipped with TYPO3);</p>
<p>I tried the following test with a fresh TYPO3 9.5.x</p>
<p>1) Install the language plugin - the relevant part of the YAML file is:</p>
<pre>
editor:
config:
# add the toolbargroup paragraph if needed, it must incude 'bidi' (example taken from Full.yaml configuration file)
toolbarGroups:
- { name: paragraph, groups: [ list, indent, blocks, align, bidi ] }
extraPlugins:
- bidi
- language
# Example of languages configuration:
language_list: [ 'he:Hebrew:rtl', 'pt:Portuguese', 'de:German' ]
</pre>
<p>2) No further configuration ( <code>allowAttributes</code>, etc)</p>
<p>3)Create a text content element</p>
<p>4) the "language" button is present; you can mark a phrase and use the dropdown to select the language</p>
<p>5) the generated HTML is (for example)</p>
<pre>
<span lang="he" dir="rtl">Lorem ipsum dolor sit amet</span>
</pre> TYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4062722019-09-20T21:32:17ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>No feedback since the last 90 days => closing this issue.</p>
<p>If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.</p>
<p>Thank you and best regards</p> TYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4063322019-09-23T08:59:40Zdermueller no-lastname-giveninfo@dermueller.com
<ul></ul><p>@Riccardo De Contardi:</p>
<p>I can confirm that the configuration you provide above (#2) works even in TYPO3 8.7.27. So the solution is to install the "language" CKEditor plugin. Which I also had problems with - see Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: CKEditor language plugin not loadable, crash (Closed)" href="http://forge.typo3.org/issues/88302">#88302</a>. I think this ticket can be marked as solved.</p> TYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4683232022-04-29T13:55:14ZEric Harrer
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-8 priority-4 priority-default" href="/issues/97499">Bug #97499</a>: Wrong notation for value of allowedAttribs in Processing.yaml</i> added</li></ul> TYPO3 Core - Bug #88303: lang-attribute for CKEditor not savedhttp://forge.typo3.org/issues/88303?journal_id=4683302022-04-29T14:02:33ZEric Harrer
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-1 status-8 priority-4 priority-default" href="/issues/97499">Bug #97499</a>: Wrong notation for value of allowedAttribs in Processing.yaml</i>)</li></ul>