Cut, Copy and Paste"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Note format modified, shortcuts added)
Line 1: Line 1:
__TOC__
 
 
 
Among the most common editing operations are cutting, copying, and pasting text. CKEditor not only supports these operations but also makes it possible to affect the formatting of the pasted text and even paste a Microsoft Word formatted fragment.
 
Among the most common editing operations are cutting, copying, and pasting text. CKEditor not only supports these operations but also makes it possible to affect the formatting of the pasted text and even paste a Microsoft Word formatted fragment.
  
<ins>'''Important notice:'''</ins> Because the cut, copy and paste functions need access to the clipboard of your operating system, some Internet browsers either block it when called from CKEditor toolbar, or ask you to explicitly agree to that. Should accessing the clipboard by clicking the respective cut, copy and paste buttons from CKEditor toolbar or context menu be blocked, you can always perform these operations with keyboard shortcuts.
+
<note>Because the cut, copy and paste functions need access to the clipboard of your operating system, some Internet browsers either block it when called from CKEditor toolbar, or ask you to explicitly agree to that. Should accessing the clipboard by clicking the respective cut, copy and paste buttons from CKEditor toolbar or context menu be blocked, you can always perform these operations with keyboard shortcuts.</note>
  
  
 
== Cut ==
 
== Cut ==
 
To cut a text fragment, start with selecting it. When the text is selected, you can cut it using one of the following methods:
 
To cut a text fragment, start with selecting it. When the text is selected, you can cut it using one of the following methods:
* Press the [[Image:CKEditor_cut.png|alt=Cut]] button on the toolbar.
+
* Press the [[Image:CKEditor_cut.png|Cut]] button on the toolbar.
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button and choose the '''Cut''' command.
+
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the ''Menu/Application'' key, or the ''Shift+F10'' keyboard shortcut, and choose the '''Cut''' command.
 
* Use the ''Ctrl+X'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of cutting the text.
 
* Use the ''Ctrl+X'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of cutting the text.
 
  
 
== Copy ==
 
== Copy ==
 
To copy a text fragment, start with selecting it. When the text is selected, you can copy it using one of the following methods:
 
To copy a text fragment, start with selecting it. When the text is selected, you can copy it using one of the following methods:
* Press the [[Image:CKEditor_copy.png|alt=Copy]] button on the toolbar.
+
* Press the [[Image:CKEditor_copy.png|Copy]] button on the toolbar.
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button and choose the '''Copy''' command.
+
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the ''Menu/Application'' key, or the ''Shift+F10'' keyboard shortcut, and choose the '''Copy''' command.
* Use the Ctrl+C shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of copying the text.
+
* Use the ''Ctrl+C'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of copying the text.
 
 
  
 
== Paste ==
 
== Paste ==
Line 24: Line 20:
  
 
When the text is in the clipboard, you can paste it using one of the following methods:
 
When the text is in the clipboard, you can paste it using one of the following methods:
* Press the [[Image:CKEditor_paste.png|alt=Paste]] button on the toolbar.
+
* Press the [[Image:CKEditor_paste.png|Paste]] button on the toolbar.
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button and choose the '''Paste''' command.
+
* Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the ''Menu/Application'' key, or the ''Shift+F10'' keyboard shortcut, and choose the '''Paste''' command.
 
* Use the ''Ctrl+V'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.
 
* Use the ''Ctrl+V'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.
  
 
If direct access to clipboard is blocked, you will be asked to paste the text into the '''Paste''' dialog window using the ''Ctrl+V'' keyboard shortcut.
 
If direct access to clipboard is blocked, you will be asked to paste the text into the '''Paste''' dialog window using the ''Ctrl+V'' keyboard shortcut.
  
[[Image:CKEditor_paste_window.png|frame|center|alt=Paste dialog window of CKEditor|Paste dialog window of CKEditor]]
+
[[Image:CKEditor_paste_window.png|frame|center|Paste dialog window of CKEditor]]
  
  
 
=== Paste from Word ===
 
=== Paste from Word ===
 
CKEditor allows you to preserve basic formatting when you paste a text fragment from Microsoft Word. To achieve this, copy the text in a Word document and paste it using one of the following methods:
 
CKEditor allows you to preserve basic formatting when you paste a text fragment from Microsoft Word. To achieve this, copy the text in a Word document and paste it using one of the following methods:
* Press the [[Image:CKEditor_paste_word.png|alt=Paste from Word]] button on the toolbar.
+
* Press the [[Image:CKEditor_paste_word.png|Paste from Word]] button on the toolbar.
 
* Use the ''Ctrl+V'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.
 
* Use the ''Ctrl+V'' shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.
 
  
 
=== Paste as Plain Text ===
 
=== Paste as Plain Text ===
If you want to paste an already formatted text, but without preserving the formatting, you can paste it as plain text. To achieve this, copy the formatted text and press the [[Image:CKEditor_paste_text.png|alt=Paste as plain text]] button on the toolbar. If the browser blocks CKEditor toolbar's access to the clipboard, a '''Paste as Plain Text''' dialog window will appear and you will be asked to paste the fragment into the text box using the'' Ctrl+V'' keyboard shortcut.
+
If you want to paste an already formatted text, but without preserving the formatting, you can paste it as plain text. To achieve this, copy the formatted text and press the [[Image:CKEditor_paste_text.png|Paste as plain text]] button on the toolbar. If the browser blocks CKEditor toolbar's access to the clipboard, a '''Paste as Plain Text''' dialog window will appear and you will be asked to paste the fragment into the text box using the'' Ctrl+V'' keyboard shortcut.
  
[[Image:CKEditor_paste_text_popup.png|frame|center|alt=Paste as Plain Text dialog window of CKEditor|Paste as Plain Text dialog window of CKEditor]]
+
[[Image:CKEditor_paste_text_popup.png|frame|center|Paste as Plain Text dialog window of CKEditor]]
  
  
 
Once pasted into the document, the text will lose all its formatting and you will be able to style it using CKEditor options.
 
Once pasted into the document, the text will lose all its formatting and you will be able to style it using CKEditor options.

Revision as of 11:54, 10 December 2010

Among the most common editing operations are cutting, copying, and pasting text. CKEditor not only supports these operations but also makes it possible to affect the formatting of the pasted text and even paste a Microsoft Word formatted fragment.

important note
Because the cut, copy and paste functions need access to the clipboard of your operating system, some Internet browsers either block it when called from CKEditor toolbar, or ask you to explicitly agree to that. Should accessing the clipboard by clicking the respective cut, copy and paste buttons from CKEditor toolbar or context menu be blocked, you can always perform these operations with keyboard shortcuts.


Cut

To cut a text fragment, start with selecting it. When the text is selected, you can cut it using one of the following methods:

  • Press the Cut button on the toolbar.
  • Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the Menu/Application key, or the Shift+F10 keyboard shortcut, and choose the Cut command.
  • Use the Ctrl+X shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of cutting the text.

Copy

To copy a text fragment, start with selecting it. When the text is selected, you can copy it using one of the following methods:

  • Press the Copy button on the toolbar.
  • Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the Menu/Application key, or the Shift+F10 keyboard shortcut, and choose the Copy command.
  • Use the Ctrl+C shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of copying the text.

Paste

To paste a text fragment, start with cutting it or copying from another source. Depending on the security settings of your browser, you may either paste directly from the clipboard or use CKEditor Paste dialog window.

When the text is in the clipboard, you can paste it using one of the following methods:

  • Press the Paste button on the toolbar.
  • Open the CKEditor context menu for the selected fragment by pressing the right mouse button, the Menu/Application key, or the Shift+F10 keyboard shortcut, and choose the Paste command.
  • Use the Ctrl+V shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.

If direct access to clipboard is blocked, you will be asked to paste the text into the Paste dialog window using the Ctrl+V keyboard shortcut.

Paste dialog window of CKEditor


Paste from Word

CKEditor allows you to preserve basic formatting when you paste a text fragment from Microsoft Word. To achieve this, copy the text in a Word document and paste it using one of the following methods:

  • Press the Paste from Word button on the toolbar.
  • Use the Ctrl+V shortcut on your keyboard. Note this method works also when the browser blocks CKEditor toolbar's access to the clipboard, so this is the most reliable way of pasting the text.

Paste as Plain Text

If you want to paste an already formatted text, but without preserving the formatting, you can paste it as plain text. To achieve this, copy the formatted text and press the Paste as plain text button on the toolbar. If the browser blocks CKEditor toolbar's access to the clipboard, a Paste as Plain Text dialog window will appear and you will be asked to paste the fragment into the text box using the Ctrl+V keyboard shortcut.

Paste as Plain Text dialog window of CKEditor


Once pasted into the document, the text will lose all its formatting and you will be able to style it using CKEditor options.