Froala Documentation
- Installation Guides
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
- Froala Docs
- /
- Plugins
- /
- Embedly Plugin
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
