Sha256: 284c8ecc3920c170f7926e5dbc994fa4f5075e31082e5c9d021790af7eeb2616

Contents?: true

Size: 924 Bytes

Versions: 45

Compression:

Stored size: 924 Bytes

Contents

/*
 Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("sourcedialog",function(a){var b=CKEDITOR.document.getWindow().getViewPaneSize(),e=Math.min(b.width-70,800),b=b.height/1.5,d;return{title:a.lang.sourcedialog.title,minWidth:100,minHeight:100,onShow:function(){this.setValueOf("main","data",d=a.getData())},onOk:function(){function b(f,c){a.focus();a.setData(c,function(){f.hide();var b=a.createRange();b.moveToElementEditStart(a.editable());b.select()})}return function(){var a=this.getValueOf("main","data").replace(/\r/g,""),c=this;
if(a===d)return!0;setTimeout(function(){b(c,a)});return!1}}(),contents:[{id:"main",label:a.lang.sourcedialog.title,elements:[{type:"textarea",id:"data",dir:"ltr",inputStyle:"cursor:auto;width:"+e+"px;height:"+b+"px;tab-size:4;text-align:left;","class":"cke_source"}]}]}});

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
effective_ckeditor-1.8.3 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
effective_ckeditor-1.8.2 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
effective_ckeditor-1.8.1 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-1.1.8 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-1.1.7 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
effective_ckeditor-1.8.0 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-1.1.6 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.1.0 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
effective_ckeditor-1.7.13 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
effective_ckeditor-1.7.12 app/assets/javascripts/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.8 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.7 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.6 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.5 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.4 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.3 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.2 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.1 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-2.0.0 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
tenon-1.1.5 lib/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js