Opened 14 years ago

Closed 13 years ago

#5971 closed Bug (fixed)

3.3.1 forcePasteAsPlainText broke with Ctrl + V

Reported by: Shaun Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.3.1
Keywords: Cc:

Description

Using an un-modified download of 3.3.1: http://www.simshaun.com/ckeditor/3.3.1-force-papt.php

The paste as plain text dialog is not forced when using Ctrl+V to paste.


Also, (not sure if related), content pasted from Word (just a simple test sentence with a red color applied) is not being cleaned... "Uhoh. It’s not working!" pasted into CKEditor becomes

<p>
	<!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--></p>
<p class="MsoNormal">
	<span style="font-family: Sylfaen; color: red;">Uhoh.<span style="">&nbsp; </span>It&rsquo;s not working!<o:p></o:p></span></p>

Change History (2)

comment:1 Changed 14 years ago by Shaun

I forgot to note that it was working as expected in 3.2.1 as seen here: http://www.simshaun.com/ckeditor/3.2.1-cursor-bug-papt.php

comment:2 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Expired on trunk.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy