http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692017-04-02T17:08:37ZTYPO3 ForgeTYPO3 Core - Bug #78705: RTE converts spaces into nbsp before/after ul, ol in table cellshttp://forge.typo3.org/issues/78705?journal_id=3283402017-04-02T17:08:37ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>This still happens on 7.6.16 with RTEHtmlarea and even on 8.7-dev (latest master) with CKEditor.</p>
<a name="Test-procedure"></a>
<h3 >Test procedure:<a href="#Test-procedure" class="wiki-anchor">¶</a></h3>
<p>1) create a new "Text and Medie CE" <br />2) click on RTE<br />3) click the "toggle text mode" button ("Source" button on CKEditor)<br />4) insert the code:<br /><pre>
<table><tr><td><ul><li>Item</li><li>Item</li><li>Item</li></ul></td></tr></table>
</pre></p>
<p>5) Save<br />6) click again the "toggle text mode" button<br />7) add the spaces:<br /><pre>
<table><tr><td> <ul><li>Item</li><li>Item</li><li>Item</li></ul> </td></tr></table>
</pre><br />8) save again and preview page</p>
<a name="Result"></a>
<h3 >Result:<a href="#Result" class="wiki-anchor">¶</a></h3>
<p><code> </code> added instead of the spaces, but only in frontend. The <code> </code> are still absent if you look at the code in the backend RTE</p> TYPO3 Core - Bug #78705: RTE converts spaces into nbsp before/after ul, ol in table cellshttp://forge.typo3.org/issues/78705?journal_id=3459542017-10-20T13:47:20ZMathias Schreibermathias.schreiber@typo3.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>HTMLArea is no longer supported by TYPO3.<br />You can open up new issues here <a class="external" href="https://github.com/FriendsOfTYPO3/rtehtmlarea">https://github.com/FriendsOfTYPO3/rtehtmlarea</a>.</p>
<p>Cheers<br />Mathias</p> TYPO3 Core - Bug #78705: RTE converts spaces into nbsp before/after ul, ol in table cellshttp://forge.typo3.org/issues/78705?journal_id=3634002018-04-12T11:19:56ZJoe Jonesfoesse@web.de
<ul><li><strong>File</strong> <a href="/attachments/33390">nbsp_in_table.PNG</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/33390/nbsp_in_table.PNG">nbsp_in_table.PNG</a> added</li></ul><p>Hallo Mathias,</p>
<p>Same problem here. Building a structure table with ul, nbsp is added in the frontend before and after <ul></ul>. I can't find a way to pretend. It happens in the <strong>ckeditor</strong> in TYPO 8.7.12. I tried the ckeditor config by adding:</p>
<pre><code class="yaml syntaxhl" data-language="yaml"><span class="na">editor</span><span class="pi">:</span>
<span class="na">config</span><span class="pi">:</span>
<span class="na">fillEmptyBlocks</span><span class="pi">:</span> <span class="kc">false</span>
<span class="na">tabSpaces</span><span class="pi">:</span> <span class="m">0</span>
<span class="na">forcePasteAsPlainText</span><span class="pi">:</span> <span class="kc">true</span>
<span class="na">entities_additional</span><span class="pi">:</span> <span class="s1">'</span><span class="s">'</span>
</code></pre>
<p>Did not change anything. I will remove the nbsp via javascript. No good way.</p>
<p>See attachment.</p>
<p>Thank you <br />Martin</p>