Re: API issues / PasteHtml aka insert HTML

  •  02-12-2009, 2:10 PM

    Re: API issues / PasteHtml aka insert HTML

    We are investigating this issue. For the time being, please open Constant.js fle and copy/paste the following code:
     
    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;";
    editorconstant._syntaxHighlighterDialogFeature = "dialogWidth:435px;dialogHeight:370px;resizable:0";
    // Default window ornaments for the ColorPicker dialog
    editorconstant._colorpickerDialogFeature = "dialogWidth:500px;dialogHeight:420px;resizable:0";
    // Default window ornaments for the Clean dialog
    editorconstant._cleanDialogFeature = "dialogWidth:235px;dialogHeight:270px;resizable:0";
    // Default window ornaments for the Preview dialog
    editorconstant._previewDialogFeature = "dialogWidth:640px;dialogHeight:480px;resizable:0";
    // 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:480px;dialogHeight:360px;";
    // Default window ornaments for the find dialog
    editorconstant._findDialogFeature = "resizable:0;dialogWidth:385px;dialogHeight:150px;";
    // Default window ornaments for the Emotion dialog
    editorconstant._emotionDialogFeature = "resizable:0;dialogWidth:280px;dialogHeight:300px;";
    // 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;resizable:0";
    // 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;resizable:0";
    // Default window ornaments for the gallery dialog
    editorconstant._galleryDialogFeature = "dialogWidth:564px;dialogHeight:580px;resizable:0";
    // Default window ornaments for the image dialog
    editorconstant._imageDialogFeature = "dialogWidth:620px;dialogHeight:540px;resizable:0";
    // Default window ornaments for the image map dialog
    editorconstant._imagemapDialogFeature = "dialogWidth:610px;dialogHeight:370px;resizable:0";
    // Default window ornaments for the media dialog
    editorconstant._mediaDialogFeature = "dialogWidth:580px;dialogHeight:470px;resizable:0";
    // Default window ornaments for the youtube dialog
    editorconstant._youtubeDialogFeature = "dialogWidth:520px;dialogHeight:560px;resizable:0";
    // Default window ornaments for the flash dialog
    editorconstant._flashDialogFeature = "dialogWidth:580px;dialogHeight:520px;resizable:0";
    // Default window ornaments for the page properties dialog
    editorconstant._pageDialogFeature = "dialogWidth:490px;dialogHeight:440px;resizable:0";
    // Default window ornaments for the Tag dialog
    editorconstant._tagDialogFeature = "resizable:0;dialogWidth:470px;dialogHeight:500px;";
    // Default window ornaments for the help
    editorconstant._helpDialogFeature = "dialogWidth:760px;dialogHeight:450px;resizable:0";
    // Default window ornaments for the Rule dialog
    editorconstant._RuleDialogFeature = "resizable:0;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';

    //set to window for compatible
    for(var p in editorconstant)window[p]=editorconstant[p];


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread