CKEDITOR.plugins.embedBase
class
Filtering
Methods
Static methods
-
static
createWidgetBaseDefinition( editor ) → baseDefinition
CKEDITOR.plugins.embedBase#createWidgetBaseDefinition
Creates a new embed widget base definition. After other necessary properties are filled this definition may be registered as a new, independent widget for embedding content.
By default an embed widget is set up to work with oEmbed providers using JSONP requests, such as Iframely or Noembed. It can be, however, easily configured to use other providers and communication methods, including custom systems or local embed databases.
See example usage of this method in:
Note that both these plugins reuse the dialog defined by the
embedbase
plugin. Integration of the asynchronous way of loading content with a dialog requires additional effort. Check the dialog's code for more details.Parameters
editor : editor
Returns
baseDefinition