Editor Inline closing if we touch any where on the screen

Editor Inline closing if we touch any where on the screen

srinu1222srinu1222 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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You can use the onBlur option of none for that behaviour. form-options has an example with submit, so just change the value to none.

    Colin

Sign In or Register to comment.