Commit 9aa0509e authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_xhtml_style: Add Ctrl + S binding in CKEditor

erp5_xhtml_style: Update ckeditor appcache
parent eb74578c
CACHE MANIFEST CACHE MANIFEST
# generated on Mon, 16 Oct 2017 10:00:01 +0000 # generated on Mon, 22 Oct 2017 10:00:01 +0000
CACHE: CACHE:
renderjs.js renderjs.js
rsvp.js rsvp.js
......
...@@ -101,13 +101,19 @@ ...@@ -101,13 +101,19 @@
toolbar: TOOLBAR_MOBILE, toolbar: TOOLBAR_MOBILE,
disableNativeSpellChecker: false, disableNativeSpellChecker: false,
// Disable ACF to not destroy HTML on mobile // Disable ACF to not destroy HTML on mobile
allowedContent: true allowedContent: true,
keystrokes: [
[CKEDITOR.CTRL + 83, 'saveRJS']
],
}, },
DESKTOP_CONFIGURATION = { DESKTOP_CONFIGURATION = {
toolbar: TOOLBAR_DESKTOP, toolbar: TOOLBAR_DESKTOP,
disableNativeSpellChecker: false, disableNativeSpellChecker: false,
// Disable ACF to not destroy HTML on mobile // Disable ACF to not destroy HTML on mobile
allowedContent: true allowedContent: true,
keystrokes: [
[CKEDITOR.CTRL + 83, 'saveRJS']
],
}, },
MATCH_MEDIA = window.matchMedia("not screen and (min-width: 45em)"); MATCH_MEDIA = window.matchMedia("not screen and (min-width: 45em)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment