If I do “jquery sortable” on a contenteditable item(s), I then can't focus mouse anywhere inside contenteditable text anymore

后端 未结 7 2391
情深已故
情深已故 2021-02-07 05:31

Strangely this is broken only in Firefox and Opera (IE, Chrome and Safari works as it should).

Any suggestions for a quick fix?




        
7条回答
  •  轮回少年
    2021-02-07 05:33

    The Patrigan answer is correct, but there's a slightly better way to specify the cancel, such as:

    {cancel: 'input,textarea,button,select,option,[contenteditable]'}
    

提交回复
热议问题