CKEDITOR.plugins.ezpaste Class
Configure the paste behaviour so that it matches what RichText and our current implementation of AlloyEditor/CKEditor actually support.
Constructor
CKEDITOR.plugins.ezpaste
()
Item Index
Methods
applyPasteFilter
(
String
private
-
editor
-
htmlCode
Applies the paste filter to the given html code.
Parameters:
-
editor
CKEDITOR.editor -
htmlCode
String
Returns:
String:
stripParagraphFromListItem
(
String
private
-
htmlCode
Strips the paragraph from the list item ie transform
<ul><li><p>Foo <b>bar</b></p></li></ul>
into
<ul><li>Foo <b>bar</b></li></ul>
Parameters:
-
htmlCode
String
Returns:
String: