pyrocms/pyrocms — pull request #1253 by canton7 (2012-03-31 11:32:46+00:00)
Title: Feature/ckeditor image fix

Since ff442ef24e, a newly-inserted image contained {{ url:site }}, and the ckeditor dataProcesser was taught to replace these with the constant SITE_URL. However, the "Image Properties" dialog would update the raw element, without bothering to call the dataProcessor on it, resulting in {{ url:site }} not being replaced, and a broken image.

This patch teaches ckeditor to call the dataProcessor whenever the "Image Properties" dialog is closed.

I've based this commit on 2.0/develop, as it can be seen as a regression fix. However, I'm happy to rebase it if you want.