Prevent Ctrl+S from saving useless content. Add support for custom shortcuts in CkEditor

This commit is contained in:
yflory
2018-11-05 16:53:25 +01:00
parent 1d31aab990
commit 1c5847dd01
3 changed files with 23 additions and 0 deletions

View File

@@ -428,6 +428,8 @@ define([
var ifrWindow = $html.find('iframe')[0].contentWindow;
framework._.sfCommon.addShortcuts(ifrWindow);
var documentBody = ifrWindow.document.body;
var observer = new MutationObserver(function (muts) {