Hello,
I have an in-place editor with a RTE model. Everything works fine however I am unable to bind an event on image upload. What I want to do is get the image in byte[] and upload it to the server. This is my RTE model:
public RichTextEditorModel RteModel = new RichTextEditorModel()
{
ToolbarSettings = new ToolbarSettingsModel()
{
Items = new object[] { "Image", "|",
"Bold", "Italic", "Underline", "SubScript", "SuperScript", "StrikeThrough",
"FontName", "FontSize", "FontColor", "BackgroundColor",
"LowerCase", "UpperCase", "|",
"Formats", "Alignments", "OrderedList", "UnorderedList",
"Outdent", "Indent", "|", "Undo", "Redo" }
},
SaveInterval = 600,
InsertImageSettings = new ImageSettingsModel()
{
Height = "150px",
Width = "150px",
}
};
I tried using ImageUploading but cannot attach a method to it.