?
avatar gorgonz
gorgonz
14 Mar 2015

Steps to reproduce the issue

create a new article in the backend

Expected result

insert this code:

Then toggle the editor with the button below the editor field (on the right corner)
Toggle back again

Actual result

only this code is left over:

System information (as much as possible)

seen it with released 3.4 and staging version of 14.March 2015

Additional comments

avatar gorgonz gorgonz - open - 14 Mar 2015
avatar gorgonz gorgonz - change - 14 Mar 2015
Labels Removed: ?
avatar gorgonz
gorgonz - comment - 14 Mar 2015

soory, the code was stripped, created two files now:
anchor.txt => the article text to be included
anchor-leftover.txt => the remaining text after toggling


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6426.
avatar gorgonz
gorgonz - comment - 14 Mar 2015

sorry, hat to find a method to transfer code ;-)

Enter this code into the editor:
<table cellspacing="0" cellpadding="0" border="0" id="lesungen_tabelle">
<tbody>
<tr>
<td valign="top" align="left" rowspan="4" class="pappnasen" id="portrait-cover">
<a class="ceraBox" href="/images/Lesungen/Zwei-Pappnasen/zwei-pappnasen.jpg"> <img border="0" alt="" src="/images/Lesungen/Zwei-Pappnasen/zwei-pappnasen.jpg"></a>
<a style="display: none;" class="ceraBox" href="/images/Lesungen/Zwei-Pappnasen/pappnasen_01.jpg"></a>
<a style="display: none;" class="ceraBox" href="/images/Lesungen/Zwei-Pappnasen/pappnasen_02.jpg"></a>
</td>
</tr>
</tbody>
</table>

This is the resulting code after toggling the editor:

<table id="lesungen_tabelle" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="portrait-cover" class="pappnasen" rowspan="4" align="left" valign="top"><a class="ceraBox" href="../images/Lesungen/Zwei-Pappnasen/zwei-pappnasen.jpg"> <img src="../images/Lesungen/Zwei-Pappnasen/zwei-pappnasen.jpg" alt="" border="0" /></a></td>
</tr>
</tbody>
</table>


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6426.
avatar brianteeman
brianteeman - comment - 14 Mar 2015

The problem is that tinymce is correcting (cleaning) your bad code.

It is removing the links that dont work

As soon as you add something between the opening and closing a tags it works

On 14 March 2015 at 15:38, gorgonz notifications@github.com wrote:

sorry, hat to find a method to transfer code ;-)

Enter this code into the editor:

This is the resulting code after toggling the editor:


This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/6426
http://issues.joomla.org/tracker/joomla-cms/6426.


Reply to this email directly or view it on GitHub
#6426 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman brianteeman - change - 14 Mar 2015
Labels Added: ?
avatar jayblaq
jayblaq - comment - 15 Mar 2015

Correct the TINY MCE editor is doing its job of cleaning the html


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6426.
avatar roland-d roland-d - change - 15 Mar 2015
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2015-03-15 18:37:59
Closed_By roland-d
avatar roland-d roland-d - close - 15 Mar 2015
avatar roland-d roland-d - close - 15 Mar 2015
avatar roland-d
roland-d - comment - 15 Mar 2015

Closing this report as 2 users have confirmed this to be the expected behavior. Thank you for your contribution.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6426.
avatar gorgonz
gorgonz - comment - 15 Mar 2015

i see the point and accept it, really. Still i must use a different editor for now, because the plugin is not ready for the behaviour and too many articles would have to be changed, if i switch now.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6426.
avatar jayblaq
jayblaq - comment - 16 Mar 2015

Have you checked the WYSIWYG settings for filtering?

Add a Comment

Login with GitHub to post a comment