Opened 16 years ago
Closed 16 years ago
#3315 closed Bug (invalid)
addIframe method is not available by default
Reported by: | Senthil | Owned by: | |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 |
Component: | General | Version: | |
Keywords: | Oracle | Cc: | Senthil |
Description
When i call the addIframe method, browser returns an error as "addIframe is not a function"
As per the discussion with Martin, to use this function i have to add iframeDialog plugin to my config.Toolbar. Yes, this can be added to the default config file but our customer will be overriding this default config file with their own custom config file. Thus addIframe will not work for the customer since they have overidden the default config file.
Our existing 2.6 plugins are using the following code to render the dialog: Ex: FCKCommands.RegisterCommand( 'CustomLinks', new FCKDialogCommand( 'Oracle', 'Oracle',URL, 700, 600 ) ) ;
But in CKEditor3.0, i couldn't invoke the addIframe method since it is not available by default.
To support the 2.6 plugins, please make this function available by default.
That's nothing to be fixed in the editor in this sense. Everything depends on the way the editor is configured and integration in your system.
Currently, you already have several options to make it work well in your case, avoiding your end users changing your internal settings: