GoogleDocsNormalizer (paste-from-office/normalizers)
@ckeditor/ckeditor5-paste-from-office/src/normalizers/googledocsnormalizer
class
Normalizer for the content pasted from Google Docs.
Filtering
Properties
Methods
-
constructor( document )
Creates a new
GoogleDocsNormalizer
instance.Parameters
document : Document
View document.
-
execute( data )
Executes the normalization of a given data.
Parameters
data : Object
object obtained from inputTransformation event.
-
isActive( htmlString ) → Boolean
Must return
true
if thehtmlString
contains content which this normalizer can transform.Parameters
htmlString : String
full content of
dataTransfer.getData( 'text/html' )
Returns
Boolean
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.