http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692015-06-22T19:22:50ZTYPO3 ForgeTYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2631382015-06-22T19:22:50Zd.ros no-lastname-given
<ul><li><strong>Assignee</strong> set to <i>Stanislas Rolland</i></li></ul><p>@stanislasrolland</p>
<p>could you have a look on this -> 3d95bf2a44100665be2e25a97e86ab0c03c785b8 ? I assume the commit is causing this issue.</p>
<p><a class="external" href="https://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff/0671b4ca5e6ec661e0d0c0ccd0e46888f2fcbd9d..3d95bf2a44100665be2e25a97e86ab0c03c785b8:/typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js">https://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff/0671b4ca5e6ec661e0d0c0ccd0e46888f2fcbd9d..3d95bf2a44100665be2e25a97e86ab0c03c785b8:/typo3/sysext/rtehtmlarea/htmlarea/plugins/PlainText/plain-text.js</a></p>
<p>Here Chrome 43.0.2357.125 (64-bit) is running.</p>
<p>Can you confirm/refuse?</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2680112015-07-22T10:31:08Zd.ros no-lastname-given
<ul></ul><p>This is still true on 6.2.14</p>
<p>Cheers</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2715422015-08-11T11:56:43Zd.ros no-lastname-given
<ul></ul><p>I broke down everything to find out what is causing this.</p>
<p>IF <br /><pre>
RTE.default.buttons.pastetoggle.setActiveOnRteOpen = 1
</pre></p>
<p>is set. then this behaviour occours. It doesn't matter if</p>
<pre>
setup.default.rteCleanPasteBehaviour = pasteStructure
</pre>
<p>or</p>
<pre>
setup.default.rteCleanPasteBehaviour = plainText
</pre>
<p>is set.</p>
<p>Also disabeling the Button by hand ends this behaviour. And enabeling the button manually activates this behaviour.</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2811002015-10-11T18:38:50ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>I've tried with Chrome on MAC (latest version) on both 6.2.15 and 7 (latest master) and was not able to reproduce it:</p>
<p>on my TSConfig I've set:</p>
<pre>
RTE.default.showButtons = *
RTE.default.buttons.pastetoggle.setActiveOnRteOpen = 1
</pre>
<p>using ctrl+c ctrl+v the behavior seems correct.<br />Should I perform some different test?</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2811042015-10-11T18:50:43ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>sorry closed for error</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2811062015-10-11T18:53:26ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Needs Feedback</i></li></ul> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2912682015-12-30T21:18:07ZTanel Põldtanel@t3webexperts.com
<ul></ul><p>I do get the double paste error with Chrome. Plain text first and formatted following it. Version 47 OS X<br />Safari pastes plain text only even thou it should paste formatted version only.</p>
<p>Firefox works as it should.</p>
<p>TYPO3 7.6.2</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=2987532016-03-04T14:12:01ZRobert Wollerobert.wolle@braineye.de
<ul></ul><p>I have the same Problem copying text from a document and pasting it in RTE with following configuration:</p>
<p>- Updated the system from 6.2.10 (in this version it worked) to 6.2.19<br />- pagets:<br /><pre>
RTE {
default {
buttons.pastetoggle.setActiveOnRteOpen = 1
buttons.pastebehaviour.pasteStructure.keepTags = br,p,ul,ol,li
buttons.pastebehaviour.pasteFormat.keepTags = br,p,ul,ol,li
}
}
</pre></p>
<p>- userts:<br /><pre>
setup.override.rteCleanPasteBehaviour = pasteFormat
</pre></p>
<p>- Browser: Google Chrome: Version 48.0.2564.116 m<br />- Clientsystem: Windows 7</p>
<p>If I set the rteCleanPasteBehaviour to plainText everything works fine. The problem only occures if I use pasteStructure or pasteFormat.</p>
<p>This is what I want to copy:</p>
<pre>
test1
test2
</pre>
<p>This happens after pasting:<br /><pre>
test1
test2test1<br />test2
</pre></p>
<p>It seems that it gives back the original plain string too.</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3060412016-06-05T16:33:00ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>I can confirm it on TYPO3 6.2.25, but it seems that the bug has been solved on 7.6.9 or the latest master. <br />Can someone confirm? Thanks</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3101932016-07-21T17:13:53ZSven Ignorsven.ignor@gmail.com
<ul></ul><p>In 7.6.10 it is still there</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3108372016-08-01T14:43:01ZRafal Brzeski
<ul></ul><p>confirm this on TYPO3 7.6.10</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3108412016-08-01T14:49:35ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>New</i></li></ul> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3135602016-09-06T13:44:26ZStefan Froemkenfroemken@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Accepted</i></li></ul><p>It works in Firefox only for default elements like in HTML. But if you copy Text from OpenOffice/LibreOffice it will add some CSS as PlainText above.</p>
<p>I though it has something to do with a mixture of DefaultCleanUp- and PlainText-Plugin. Both create an event on paste and will create dynamic Textfields to insert the pasted content. I have deactivated DefaultCleanUp-Plugin completely in ext_localconf.php, but this problem still appears.</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3135612016-09-06T13:55:30ZStefan Froemkenfroemken@gmail.com
<ul></ul><p>That part looks a little but ugly:</p>
<pre>
while (i < contentTypes.length) {
contentType = contentTypes[i];
if (/text\/plain|text\/html/.test(contentType)) {
clipboardText += clipboardData.getData(contentType);
}
i++;
}
</pre>
<p>I have just copied your example with test1 and test2, and Chrome results in TWO ClipBoards text/plain and text/html. Both are valid, so both were pasted into the RTE</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3135632016-09-06T14:13:53ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/49871">https://review.typo3.org/49871</a></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3135672016-09-06T14:54:49ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/49871">https://review.typo3.org/49871</a></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3145792016-09-30T07:55:26ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/49871">https://review.typo3.org/49871</a></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3145802016-09-30T08:47:20ZGerrit Code Review
<ul></ul><p>Patch set 4 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/49871">https://review.typo3.org/49871</a></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3147902016-10-06T09:56:41ZJan Helke
<ul><li><strong>Sprint Focus</strong> set to <i>On Location Sprint</i></li></ul> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3150812016-10-09T10:53:37ZTymoteusz Motylewskit.motylewski@gmail.com
<ul></ul><p>I could reproduce the issue with configuration from comment 8 and additionally adding<br /><pre>
RTE.default.showButtons = *
</pre></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3162442016-10-24T17:25:27ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_7-6</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/50343">https://review.typo3.org/50343</a></p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3162452016-10-24T17:25:53ZStefan Froemkenfroemken@gmail.com
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] Prevent duplicate pastes in rtehtmlarea if pasteFormat or pasteStructur is activated in..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/34d32feb8ab9edc46c63570bc0dc2467bc2f2317">34d32feb8ab9edc46c63570bc0dc2467bc2f2317</a>.</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3270952017-03-22T11:48:40ZTorsten no-lastname-given
<ul></ul><p>I still run into this problem in 6.2.30 tested with Firefox 52.0.1</p> TYPO3 Core - Bug #67661: RTE: copy and paste within RTE leads twice content inputhttp://forge.typo3.org/issues/67661?journal_id=3813162018-10-02T11:44:39ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>