You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
4.7 KiB
77 lines
4.7 KiB
if(!window.editorconstant)window.editorconstant={};
|
|
|
|
editorconstant.KEYDOWN_NOTIFYCHANGEDELAY=2000
|
|
|
|
// When creating a table using the Wizard, the following default attributes apply.
|
|
editorconstant._CreateEditingTableStyle = "<table border='0' cellspacing='2' cellpadding='2' width='500'>";
|
|
// When creating a new div box, the following default attributes apply.
|
|
editorconstant._BoxFormattingStyle = "border: solid 1px #666666;";
|
|
// Default window ornaments for the Syntax Highlighter dialog
|
|
editorconstant._syntaxHighlighterDialogFeature = "dialogWidth:435px;dialogHeight:370px";
|
|
// Default window ornaments for the ColorPicker dialog
|
|
editorconstant._colorpickerDialogFeature = "dialogWidth:520px;dialogHeight:420px";
|
|
// Default window ornaments for the Clean dialog
|
|
editorconstant._cleanDialogFeature = "dialogWidth:270px;dialogHeight:250px";
|
|
// Default window ornaments for the Preview dialog
|
|
editorconstant._previewDialogFeature = "dialogWidth:640px;dialogHeight:480px;resizable:1";
|
|
// Default window ornaments for the Anchor dialog
|
|
editorconstant._anchorDialogFeature = "resizable:0;dialogWidth:320px;dialogHeight:230px;";
|
|
// Default window ornaments for the Link dialog
|
|
editorconstant._linkDialogFeature = "resizable:0;dialogWidth:460px;dialogHeight:214px;";
|
|
// Default window ornaments for the Char dialog
|
|
editorconstant._charDialogFeature = "resizable:0;dialogWidth:520px;dialogHeight:360px;";
|
|
// Default window ornaments for the find dialog
|
|
editorconstant._findDialogFeature = "resizable:1;dialogWidth:385px;dialogHeight:150px;";
|
|
// Default window ornaments for the Emotion dialog
|
|
editorconstant._emotionDialogFeature = "resizable:0;dialogWidth:290px;dialogHeight:310px;";
|
|
// Default window ornaments for the Spell dialog
|
|
editorconstant._spellDialogFeature = "resizable:0;dialogWidth:400px;dialogHeight:300px;";
|
|
// Default window ornaments for the Template dialog
|
|
editorconstant._templateDialogFeature = "dialogWidth:660px;dialogHeight:430px;";
|
|
// Default window ornaments for the Create Template dialog
|
|
editorconstant._createtemplateDialogFeature = "dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0;";
|
|
// Default window ornaments for the Document dialog
|
|
editorconstant._documentDialogFeature = "dialogWidth:600px;dialogHeight:480px;";
|
|
// Default window ornaments for the gallery dialog
|
|
editorconstant._galleryDialogFeature = "dialogWidth:564px;dialogHeight:540px;";
|
|
// Default window ornaments for the image dialog
|
|
editorconstant._imageDialogFeature = "dialogWidth:620px;dialogHeight:540px;";
|
|
// Default window ornaments for the image map dialog
|
|
editorconstant._imagemapDialogFeature = "dialogWidth:610px;dialogHeight:370px;";
|
|
// Default window ornaments for the media dialog
|
|
editorconstant._mediaDialogFeature = "dialogWidth:580px;dialogHeight:470px;";
|
|
// Default window ornaments for the youtube dialog
|
|
editorconstant._youtubeDialogFeature = "dialogWidth:520px;dialogHeight:220px;";
|
|
// Default window ornaments for the flash dialog
|
|
editorconstant._flashDialogFeature = "dialogWidth:580px;dialogHeight:520px;";
|
|
// Default window ornaments for the page properties dialog
|
|
editorconstant._pageDialogFeature = "dialogWidth:490px;dialogHeight:440px;";
|
|
// Default window ornaments for the Tag dialog
|
|
editorconstant._tagDialogFeature = "resizable:0;dialogWidth:470px;dialogHeight:500px;";
|
|
// Default window ornaments for the help
|
|
editorconstant._helpDialogFeature = "dialogWidth:810px;dialogHeight:450px;";
|
|
// Default window ornaments for the Rule dialog
|
|
editorconstant._RuleDialogFeature = "resizable:1;dialogWidth:340px;dialogHeight:210px;";
|
|
// Default style in the source view
|
|
editorconstant._editorSourceStyle = "background:#ffffff;margin:0;padding:0;color:black;text-align:left;";
|
|
// Default window ornaments for the paste dialog
|
|
editorconstant._pastetextDialogFeature = "resizable:0;dialogWidth:450px;dialogHeight:400px;";
|
|
// Default window ornaments for the universal keyboard dialog
|
|
editorconstant._keyboardDialogFeature = "resizable:0;dialogWidth:415px;dialogHeight:310px;";
|
|
editorconstant.layerdefaultstyle = "position:absolute;width:104px; height: 104px";
|
|
editorconstant.ToggleBorderStyle='1px dotted #000000';
|
|
editorconstant.DisableCtrlZ = false;
|
|
//By default, when users double click a control, a tag property dialog will open. Set it to true if you want to disable this feature.
|
|
editorconstant.DisableDoubleClickEvent = false;
|
|
editorconstant.AbsolutePositionValue='absolute'; //'relative';
|
|
//Default dialog's z-index
|
|
editorconstant.DialogZIndex=8888;
|
|
//If true, the F12 hot key will be disabled.
|
|
editorconstant.DisableHotkeyF12=false;
|
|
//If false, cute editor will create html 4.01 tags
|
|
editorconstant.UseXhtmlFormat=true;
|
|
// Default Dropdown background color
|
|
editorconstant.DropDownBGColor="white";
|
|
|
|
//set to window for compatible
|
|
for(var p in editorconstant)window[p]=editorconstant[p]; |