Editor Inline closing if we touch any where on the screen
Editor Inline closing if we touch any where on the screen
srinu1222
Posts: 6Questions: 1Answers: 0
Currently, if i touch anywhere on the screen my inline editor is closing. i want to prevent this and editor should close only when i hit submit icon that i already have. this is sample code: editor.inlineCreate(
'start',
{
cancelTrigger: 3,
cancelHtml: '<i class="fa fa-times"/>',
submitTrigger: 2,
submitHtml: '<i class="fa fa-floppy-o"/>'
}
);
Answers
You can use the
onBlur
option ofnone
for that behaviour.form-options
has an example withsubmit
, so just change the value tonone
.Colin