Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here โ€“ Learn More

Skip to content
Froala Documentation

Embedly Plugin

Plugins are fully functional during your trial once you've added your trial key to the setup.

Embeds any content from the web in the editor.


Plugin options:

embedlyKey
String - Default: null
Your key from Embed.ly to remove the "Powered By Banner".
embedlyEditButtons
Array - Default: ['embedlyRemove']
The buttons that appear in the edit Embed.ly popup, when an embedded object is selected.
embedlyInsertButtons
Array - Default: ['embedlyRemove']
The buttons that appear in the insert Embed.ly popup, when an embedded object is inserted into the WYSIWYG editor.
embedlyScriptPath
String - Default: The default script path for the Embedly JS.
The default script path for the Embedly JS.

Plugin methods:

embedly.add (url)
returns: .
Add the embedly to the editor.
โ— Url:URL for the embedly.
Type: String
embedly.back ()
returns:
Hides the insert popup and shows an inline menu for the currently selected embedly.
embedly.get ()
returns:
Gets the currently embedly instance.
embedly.insert ()
returns:
Inserts the embedly into the editor from the popup.
embedly.remove ()
returns:
Removes the currently selected embedly instance.
embedly.showInsertPopup ()
returns:
Shows insert popup.

Plugin events:

embedly.beforeRemove (embeded)
.
Triggered before the embedly embeded object is removed from editor.
โ— embeded
Current embeded object to be removed.

Add Plugin to your code:

Plugin name: embedly

Plugin JS Script: ../js/third_party/embedly.min.js

Or from CDN https://cdn.jsdelivr.net/npm/froala-editor@latest/js/third_party/embedly.min.js

Plugin CSS link:../css/third_party/embedly.min.css


Plugin CSS link https://cdn.jsdelivr.net/npm/froala-editor@latest/css/third_party/embedly.min.css


Example:

โ— Embed.ly Integration

Ready to dive in? Explore our plans

Sign up

Download the code by signing up for our newsletter

Sign up

Download the code by signing up for our newsletter

Note: By registering, you confirm that you agree to the processing of your personal data by Froala, Inc. - Froala as described in the Privacy Statement. Froala, Inc. - Froala is part of the Idera group and may share your information with its parent company Idera, Inc., and its affiliates. For further details on how your data is used, stored, and shared, please review our Privacy Statement.