trying something else..

outdent-ol-on-click
John McLear 2020-06-06 23:17:08 +00:00
parent 3eec0a0f7f
commit f35100a7bd
1 changed files with 2 additions and 1 deletions

View File

@ -5184,7 +5184,8 @@ function Ace2Inner(){
if(t === listType) togglingOn = false;
if(togglingOn){
mods.push([n, allLinesAreList ? 'indent' + level : (t ? type + level : type + '1')]);
console.warn("this fucking line");
// mods.push([n, allLinesAreList ? 'indent' + level : (t ? type + level : type + '1')]);
}else{
// scrap the entire indentation and list type
if(level === 1){ // if outdending but are the first item in the list then outdent