TinyMCE图像编辑器集成
我已经用java编写了图像编辑器,我想与TinyMCE集成。虽然我很困惑。我有一个自定义的工具栏按钮,我打开我的ImageEditor onclick,如下所示TinyMCE图像编辑器集成,tinymce,Tinymce,我已经用java编写了图像编辑器,我想与TinyMCE集成。虽然我很困惑。我有一个自定义的工具栏按钮,我打开我的ImageEditor onclick,如下所示 tinyMCE.activeEditor.windowManager.open({ file : "/ImageEditor/index.jsp", title : 'Image Manager', width : 800, // Your dimensions may differ - toy around
tinyMCE.activeEditor.windowManager.open({
file : "/ImageEditor/index.jsp",
title : 'Image Manager',
width : 800, // Your dimensions may differ - toy around with them!
height : 600,
resizable : "yes",
inline : "yes",
close_previous : "no"
});
这将打开我的编辑器,但现在我需要在弹出窗口的“设置图像”按钮上编写什么代码,以便将所选图像插入TinyMCE编辑器
非常感谢我在打开的弹出窗口中使用了以下代码 var ed=tinyMCE.getInstanceById'elm1'; var代码=GetSelecteImage; ed.execCommand'mceInsertContent',false,代码