Don't close Editor when you click off it.

Don't close Editor when you click off it.

richardeastrichardeast Posts: 2Questions: 1Answers: 0

I have the Editor popping up when I click a button.
If you click away from the editor it will close it.
How do I stop that functionality and only allow it to close when you either choose close (X) or subit the form?

This question has an accepted answers - jump to answer

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Answer ✓

    From my own code:

            table: "#datatable",
            formOptions: {
                main: {
                    focus: 1,      // Initial focus on title_body input field.
                    onBackground: 'none' // Do not close form on click outside.
                }
            },
    
  • richardeastrichardeast Posts: 2Questions: 1Answers: 0

    Perfect! Thank you.

Sign In or Register to comment.