en	htmlArea RTE > Clean Paste

en	The Clean Paste feature offers options for cleaning content copied from external source before it gets pasted into the editing area.

en	This feature is useful when pasting text that was copied to the clipboard from some external source. The "Clean paste" button allows to toggle to clean paste mode and back to normal paste mode. Clicking on the "Clean paste" button puts the button "on". This action does not initiate any paste operation. But when the "clean paste" button is "on" in the RTE tool bar, whenever a paste operation is performed, content contained in the clipboard is transformed before being pasted into the editing area. Clicking again on the toggle button puts it "off". Any subsequent paste operation is performed as a normal paste.

en	EXT:rtehtmlarea/Resources/Public/Images/Plugins/PlainText/paste-toggle.gif, EXT:rtehtmlarea/Resources/Public/Images/Plugins/PlainText/paste-behaviour.gif

en	"Clean paste" toggle icon in the editor tool bar. Clicking on it changes the behaviour of subsequent paste operations. "Clean Paste Behaviour" icon in the editor tool bar. Clicking on it opens a dialogue that allows to select an alternate paste behaviour.

en	xEXT_rtehtmlarea_PlainText:behaviour

en	Select a paste behaviour

en	Select one of the three alternate paste behaviours.

en	When the "Clean paste" toggle is "on" in the RTE tool bar, the content may be tranformed according to the three following behaviours before being pasted: - plain text: all HTML markup is removed; - structure only: only structural HTML markup is retained, all format is removed; - structure and basic format: structural HTML markup is preserved as well as basic format provided by inline HTML elements. Which behaviour is activated when clicking the toggle button may be set either in the TYPO3 BE User Settings or in the "Clean Paste Behaviour" dialogue. If not set, it defaults to "Paste as plain text". The "Clean Paste Behaviour" dialogue is activated by clicking on the "Clean Paste Behaviour" button in the toolbar of the RTE.

en	xEXT_rtehtmlarea_PlainText:plainText,xEXT_rtehtmlarea_PlainText:pasteStructure,xEXT_rtehtmlarea_PlainText:pasteFormat,_MOD_user_setup

en	Paste as plain text

en	When this paste behaviour is enabled, all HTML markup is removed before content is pasted in the editing area.

en	xEXT_rtehtmlarea_PlainText:behaviour

en	Paste structure only

en	When this paste behaviour is enabled and content is pasted in the editing area, only structural HTML markup is retained, all format is removed.

en	By default, "Structure only" means that: - only the following HTML elements are retained: a, p, h[0-6], pre, address, article, aside, blockquote, div, footer, header, nav, section, hr, br, table, thead, tbody, tfoot, caption, tr, th, td, ul, ol, dl, li, dt, dd; - the following HTML attributes are removed: id, style, class, lang, align, valign, bgcolor, color, border, face, any attribute starting with "on", and any attribute containing ":". These defaults may be modified in Page TSConfig.

en	xEXT_rtehtmlarea_PlainText:behaviour

en	Paste structure and basic format

en	When this paste behaviour is enabled and content is pasted in the editing area, structural HTML markup is preserved as well as basic format provided by inline HTML elements.

en	By default, "Structure and basic format" means that: - the following HTML structural elements are retained: a, p, h[0-6], pre, address, article, aside, blockquote, div, footer, header, nav, section, hr, br, table, thead, tbody, tfoot, caption, tr, th, td, ul, ol, dl, li, dt, dd; - the following HTML inline elements are also retained: b, bdo, big, cite, code, del, dfn, em, i, ins, kbd, label, q, samp, small, strike, strong, sub, sup, tt, u, var; - the following HTML attributes are removed: id, style, class, lang, align, valign, bgcolor, color, border, face, any attribute starting with "on", and any attribute containing ":". These defaults may be modified in Page TSConfig.

en	xEXT_rtehtmlarea_PlainText:behaviour

en	Contents pasted into this pasting pad will be cleaned. Click OK to insert the cleaned contents into the RTE editing area.

en	When using Internet Explorer and when pasting behaviour "Paste structure only" or "Paste structure and format" is enabled, contents must first be pasted into this pasting pad so that they can be cleaned before being inserted into the RTE editing area.