disable cut renumbering of OLs so cut paste works

This commit is contained in:
John McLear 2015-03-24 09:58:02 +00:00
parent 83e6591f1a
commit a67664055d
1 changed files with 5 additions and 2 deletions

View File

@ -4863,8 +4863,11 @@ function Ace2Inner(){
$(document).on("keypress", handleKeyEvent); $(document).on("keypress", handleKeyEvent);
$(document).on("keyup", handleKeyEvent); $(document).on("keyup", handleKeyEvent);
$(document).on("click", handleClick); $(document).on("click", handleClick);
// $(document).on("cut", handleCut); // Disabled: https://github.com/ether/etherpad-lite/issues/2546
// Disabling this can break OL numbering: https://github.com/ether/etherpad-lite/pull/2533 // Disabled: https://github.com/ether/etherpad-lite/issues/2546
// Will break OL re-numbering: https://github.com/ether/etherpad-lite/pull/2533
// $(document).on("cut", handleCut);
$(root).on("blur", handleBlur); $(root).on("blur", handleBlur);
if (browser.msie) if (browser.msie)
{ {