Hi,
1. How to implement the external image upload option in Infragistics HTML Editor?
2. How to add customize button in HTML editor?
If any one suggest, how to do it in Infragistics HTML Editor.
Thanks
Tamilmani Mohan
Sorry,
I struggled with some other issues. So , i am not able test completely. I will test and update you.
Hello Tamilmani
When you test it please let me know if this approach works for you.
Thanks.
I will check now
Hello Tamilmani,
Image uploading is available in the igHtmlEditor by design. In order to use it is needed to set the showInsertObjectToolbar option to true:
$(".selector").igHtmlEditor({
showInsertObjectToolbar: true
});
The insert image button is positioned in the insert object toolbar.
To your second question: to add a custom button in the igHtmlEditor it is needed to initialize a custom toolbar(see the code snippet below).
customToolbars: [
{
name: "customToolbar",
collapseButtonIcon: "ui-igbutton-collapse",
expandButtonIcon: "ui-igbutton-expand",
items: [{
//Definition for custom button:
name: "customButton",
type: "button",
handler: function() { alert("Custom button clicked!");},
scope: this,
props: {
isImage: {
value: false,
action: '_isSelectedAction'
},
imageButtonTooltip: {
value: "Custom button tooltip",
action: '_tooltipAction'
imageButtonIcon: {
value: "ui-igbutton-bold",
action: '_buttonIconAction'
}
}…
More information on this topic could be found at the following resources:
http://help.infragistics.com/jQuery/2013.2/ui.igHtmlEditor (see the OPTIONS tab)
http://igniteui.com/html-editor/custom-toolbars-and-buttons
Hope this helps.
If you have any further questions or comments don’t hesitate to notify us.
Hi Alan,
I am using IgniteUI HTML Editor