Pasting into TinyMCE is now stripping line endings

Bug #658457 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Balazs Ree

Bug Description

I've been copying and pasting text into wiki in tinymce.

It is stripping returns in text and running it all together.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Jim, assigning back to you for more input. Can you describe what it used to do? Did it convert line endings to <br/> or something?

Perhaps if you could give an example of the old pastes (the text you pasted, the HTML that resulted) as compared to the new result. Most likely, the shift to the new TinyMCE paste plugin has some flaw.

summary: - stripping returns in paste into tinymce
+ Pasting into TinyMCE is now stripping line endings
Changed in karl3:
assignee: nobody → Jim B. Glenn (jimbglenn)
importance: Undecided → Low
milestone: none → m49
Revision history for this message
Jim B. Glenn (jimbglenn) wrote : Re: [Bug 658457] Re: Pasting into TinyMCE is now stripping line endings

Old copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/test-for-paul/

<h3>Arguments Available</h3>
<p>$ bin/add_instance&#160;</p>
<p>usage: add_instance [-h] [--tag TAG] [--trunk]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAME</p>
<p>&#160;</p>
<h3>Help&#160;</h3>

New copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/test-for-paul/

<p>Juno:karltools jglenn$ bin/add_instance&#160;usage: add_instance [-h] [--tag TAG] [--trunk]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAMEadd_instance: error: too few arguments</p>

--------------------------------------------------
Jim B. Glenn
Website: http://www.jbglenn.net
E-mail/G-Talk: <email address hidden>
Skype: jimbglenn
Phone: (317) 774-6652
--------------------------------------------------

On Oct 11, 2010, at 12:41 PM, Paul Everitt wrote:

> Jim, assigning back to you for more input. Can you describe what it
> used to do? Did it convert line endings to <br/> or something?
>
> Perhaps if you could give an example of the old pastes (the text you
> pasted, the HTML that resulted) as compared to the new result. Most
> likely, the shift to the new TinyMCE paste plugin has some flaw.
>
> ** Summary changed:
>
> - stripping returns in paste into tinymce
> + Pasting into TinyMCE is now stripping line endings
>
> ** Changed in: karl3
> Importance: Undecided => Low
>
> ** Changed in: karl3
> Milestone: None => m49
>
> ** Changed in: karl3
> Assignee: (unassigned) => Jim B. Glenn (jimbglenn)
>
> --
> Pasting into TinyMCE is now stripping line endings
> https://bugs.launchpad.net/bugs/658457
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: New
>
> Bug description:
> I've been copying and pasting text into wiki in tinymce.
>
> It is stripping returns in text and running it all together.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/658457/+subscribe

Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

Old copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/test-for-paul/

<h3>Arguments Available</h3>
<p>$ bin/add_instance&#160;</p>
<p>usage: add_instance [-h] [--tag TAG] [--trunk]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAME</p>
<p>&#160;</p>
<h3>Help&#160;</h3>

New copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/test-for-paul/

<p>Juno:karltools jglenn$ bin/add_instance&#160;usage: add_instance [-h] [--tag TAG] [--trunk]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAMEadd_instance: error: too few arguments</p>

Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

Sorry, got them backwards in comment above:
old copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/karl-tools-add_instance/

<p>$ bin/add_instance&#160;</p>
<p>usage: add_instance [-h] [--tag TAG] [--trunk]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAME</p>
<p>&#160;</p>
<h3>Help&#160;</h3>
<p>$ bin/add_instance -h</p>
<p>usage: add_instance [-h] [--tag TAG] [--trunk]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAME</p>
<p>&#160;</p>

New copy and paste:
https://karl.sixfeetup.com/communities/karl-support/wiki/test-for-paul/
<p>Juno:karltools jglenn$ bin/add_instance&#160;usage: add_instance [-h] [--tag TAG] [--trunk]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--buildout-branch BUILDOUT-BRANCH]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;[--karl-branch KARL-BRANCH] [--no-prod-data-sync]&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;INSTANCE NAMEadd_instance: error: too few arguments</p>

Changed in karl3:
assignee: Jim B. Glenn (jimbglenn) → Paul Everitt (paul-agendaless)
Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → Balazs Ree (ree)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Balazs is out this week, unlikely to get done in M49.

Changed in karl3:
milestone: m49 → m50
Revision history for this message
Balazs Ree (ree) wrote :

It seems that the current trunk fixes this problem as well. Can you please re-test and reopen the bug in case you can still trigger it?

Also, please specify: which browser it happens? Is this also IE7 only, or it also occurs on Firefox?

In addition, where do you exactly copy from? (which operating system, which application? )

Thanks for your patience in the testing! I really need the details to fix this, in case it still happens.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.