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.