diff --git a/build/squire-raw.js b/build/squire-raw.js index 3cc003a..6087ce6 100644 --- a/build/squire-raw.js +++ b/build/squire-raw.js @@ -1828,7 +1828,7 @@ const changeIndentationLevel = function ( methodIfInQuote, methodIfInList ) { return function ( self, event ) { event.preventDefault(); var path = self.getPath(); - if ( /(?:^|>)BLOCKQUOTE/.test( path ) || + if ( /(?:^|>)BLOCKQUOTE/.test( path ) || !/(?:^|>)[OU]L/.test( path ) ) { self[ methodIfInQuote ](); } else { @@ -1845,9 +1845,9 @@ keyHandlers[ ctrlKey + 'shift-5' ] = mapKeyToFormat( 'SUB', { tag: 'SUP' } ); keyHandlers[ ctrlKey + 'shift-6' ] = mapKeyToFormat( 'SUP', { tag: 'SUB' } ); keyHandlers[ ctrlKey + 'shift-8' ] = mapKeyTo( 'makeUnorderedList' ); keyHandlers[ ctrlKey + 'shift-9' ] = mapKeyTo( 'makeOrderedList' ); -keyHandlers[ ctrlKey + '[' ] = +keyHandlers[ ctrlKey + '[' ] = changeIndentationLevel( 'decreaseQuoteLevel', 'decreaseListLevel' ); -keyHandlers[ ctrlKey + ']' ] = +keyHandlers[ ctrlKey + ']' ] = changeIndentationLevel( 'increaseQuoteLevel', 'increaseListLevel' ); keyHandlers[ ctrlKey + 'd' ] = mapKeyTo( 'toggleCode' ); keyHandlers[ ctrlKey + 'y' ] = mapKeyTo( 'redo' );