1. editor.getHTML() recieves whole html from editor. Is there a posibility to recieve only selected html?
2. I used the following code to add a new item into right-click pop-up menu. But it
works only with Firefox.. IExplorer doesn't display my item in pop-up.
What can be the problem. Thanx.
var menu = CuteEditor_CreateMenu(editor);
window.CuteEditor_AddMainMenuItems(menu)
function CuteEditor_AddMainMenuItems(menuitem)
{
menuitem.AddMenuItem(1,"Extended Properties","page.gif",DefaultMenuHandler);
}
function CuteEditor_AddDropMenuItems(menuitem,group)
{
menuitem.AddMenuItem(1,"drop:"+group,"bold.gif",DefaultMenuHandler);
}
function DefaultMenuHandler(menuitem)
{
//use CuteEditor_GetEditor(elementinsidetheEditor) to get the cute editor instance
var editor=CuteEditor_GetEditor(menuitem.editor);
//show the dialog page , and pass the editor as newwin.dialogArguments(handler,url,args,feature)
var newwin=editor.ShowDialog(null,"ExControls/ExPropOut.aspx?_rand="+new Date().getTime(),editor,"dialogWidth:400px;dialogHeight:240px");
}