1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00
rainloop_ynh/sources/rainloop/v/1.8.2.291/static/ckeditor/CUSTOMS
2015-04-13 13:57:37 +01:00

30 lines
No EOL
730 B
Text

fix[1] CKEDITOR.editor.prototype.resize
g=CKEDITOR.env.webkit&&this.document&&this.document.getWindow().$.frameElement
->
g=null;
try{g=CKEDITOR.env.webkit&&this.document&&this.document.getWindow().$.frameElement;}catch(e){}
---
fix[2] .extend
d.collapse(true);c.removeAllRanges();c.addRange(d);c.extend(b[1].node,b[1].offset)
->
d.collapse(true);c.removeAllRanges();c.addRange(d);try{c.extend(b[1].node,b[1].offset)}catch(e){}
---
disable context menu
disableContextMenu:function(){this.on("contextmenu",
-->
disableContextMenu:function(){return false;this.on("contextmenu",
proto:{addTarget:function(a,e){a.on("contextmenu",function(a){
-->
proto:{addTarget:function(a,e){a.on("contextmenu",function(a){return false;