-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15363 from ckeditor/ck/15333-metadata-retained-wh…
…en-copying-from-word-in-windows Fix (paste-from-office): Content from Word documents should be pasted correctly (without HTML styles tag content) on Windows systems. Closes #15333. Closes #9002.
- Loading branch information
Showing
8 changed files
with
1,168 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/ckeditor5-paste-from-office/tests/_data/other/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
import smartTags from './smart-tags/input.html'; | ||
import smartTagsModel from './smart-tags/model.html'; | ||
|
||
export const fixtures = { | ||
input: { | ||
smartTags | ||
}, | ||
model: { | ||
smartTags: smartTagsModel | ||
} | ||
}; |
Binary file added
BIN
+17.2 KB
packages/ckeditor5-paste-from-office/tests/_data/other/smart-tags/15333.docx
Binary file not shown.
1,023 changes: 1,023 additions & 0 deletions
1,023
packages/ckeditor5-paste-from-office/tests/_data/other/smart-tags/input.html
Large diffs are not rendered by default.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
packages/ckeditor5-paste-from-office/tests/_data/other/smart-tags/model.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<paragraph><$text bold="true" fontColor="red">A/K: </$text></paragraph> | ||
<paragraph><$text bold="true">T ID: 1</$text></paragraph> | ||
<paragraph></paragraph> | ||
<paragraph><$text bold="true" fontColor="black">ID 1 –adXY</$text></paragraph> | ||
<paragraph>M for F Der Transactions with XXXX SYXE dated 06th March 2013</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph>Type of Entity: XXXX company</paragraph> | ||
<paragraph>Jurisdiction: Germany</paragraph> | ||
<paragraph><$text bold="true">C: </$text>Addendum covering </paragraph> | ||
<paragraph>One-Way: Two Way </paragraph> | ||
<paragraph>Go: German </paragraph> | ||
<paragraph>Sub: N/A</paragraph> | ||
<paragraph>Ind: zero </paragraph> | ||
<paragraph>Thresholds: R: zero</paragraph> | ||
<paragraph> Co: zero</paragraph> | ||
<paragraph>Minimum Transfer Amount: R: EUR1million</paragraph> | ||
<paragraph> Counterparty: EUR1million</paragraph> | ||
<paragraph>Rounding: R: EUR1million</paragraph> | ||
<paragraph> Co: EUR1million</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph>M re to EUR 2,000 (and rounding to EUR 1,000) if either party's rating falls below C/C2</paragraph> | ||
<paragraph><$text bold="true">El 2-day C: </$text>Yes</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph><$text bold="true" fontColor="black">ID 1 –addfSE</$text></paragraph> | ||
<paragraph>M A for F D Transactions with XXXX SETXY dated 06th March 2013</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph>Type of Entity: XXX company</paragraph> | ||
<paragraph>Jurisdiction: Germany</paragraph> | ||
<paragraph><$text bold="true" fontColor="black">ID 1 – fSETXX</$text></paragraph> | ||
<paragraph>Master Agreement for Financial Derivatives Transactions with XXXX STXY dated 06th March 2013</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph>Type of Entity: XXX company</paragraph> | ||
<paragraph>Jurisdiction: Germany</paragraph> | ||
<paragraph></paragraph> | ||
<paragraph></paragraph> | ||
<paragraph></paragraph> | ||
<paragraph><$text bold="true" fontColor="black">GID XXXXX –adE</$text></paragraph> | ||
<paragraph><$text fontColor="black">Master Agreement for Financial Derivatives Transactions with XYZ COMPANY SE dated 06th March 2013</$text></paragraph> | ||
<paragraph></paragraph> | ||
<paragraph><$text fontColor="black">Type of Entity: XXXYYY company</$text></paragraph> | ||
<paragraph><$text fontColor="black">Jurisdiction: Germany</$text></paragraph> | ||
<paragraph></paragraph> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters