- Source:
Methods
-
<static> attachment(props, attachment)
-
Called when sending an attachment to the editor from the medial modal.
Parameters:
Name Type Description props
Object Attachment details (align, link, size, etc). attachment
Object The attachment object, media version of Post. - Source:
Returns:
- Type
- Promise
-
<static> link(embed)
-
Called when 'Insert From URL' source is not an image. Example: YouTube url.
Parameters:
Name Type Description embed
Object - Source:
Returns:
- Type
- Promise