Correctly saves changes made while in code view in the Summernote editor.
这些是代码更新过的版本。 显示所有版本
Added support for Marketplace editors
Simplified further to rely entirely on Summernote callbacks and functions.
Now uses jQuery to hook into Summernote's events, which should improve performance and automatically detect Summernote instances wherever they appear on Kanka instead of searching for them manually.
Slightly more intelligent way to check whether or not the script should run, I think.