chore(ckeditor): Convert blockimagepaste plugin to AMD

@jdalsem This is what I meant. Is this what you tried? Any reason not to go this way?
Not sure what you mean

On Mon, Dec 1, 2014, 7:27 AM Jeroen Dalsem <notifications@github.com> wrote:

> In mod/ckeditor/views/default/js/elgg/ckeditor/blockimagepaste.js:
>
> > +				editor.document.on('drop', chkImg);
> > +				// For IE
> > +				editor.document.getBody().on('drop', chkImg);
> > +			});
> > +			
> > +			editor.on('paste', function(e) {
> > +				
> > +				var html = e.data.dataValue;
> > +				if (!html) {
> > +					return;
> > +				}
> > +				
> > +				e.data.dataValue = replaceImgText(html);
> > +			});
> > +		} //Init
> > +	};
>
> yeah but then you get a double async loaded file...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Elgg/Elgg/pull/7559/files#r21094711>.
>