src/js/wysiwygCommands/code.js
function removeUnnecessaryCodeInNextToRange(range) {
  if (domUtils.getNodeName(range.startContainer.nextSibling) === 'CODE'
        && domUtils.getTextLength(range.startContainer.nextSibling) === 0
  ) {
    $(range.startContainer.nextSibling).remove();
  }
}
function removeUnnecessaryCodeInNextToRange(range) {
  if (domUtils.getNodeName(range.startContainer.nextSibling) === 'CODE'
        && domUtils.getTextLength(range.startContainer.nextSibling) === 0
  ) {
    $(range.startContainer.nextSibling).remove();
  }
}
function removeUnnecessaryCodeInNextToRange ( range ) { if ( domUtils . getNodeName ( range . startContainer . nextSibling ) === 'CODE' && domUtils . getTextLength ( range . startContainer . nextSibling ) === 0 ) { $ ( range . startContainer . nextSibling ) . remove ( ) ; } }
removeUnnecessaryCodeInNextToRange
Remove unnecessary code tag next to range, code tag made by squire
@param {Range} range range object
removeUnnecessaryCodeInNextToRange Remove unnecessary code tag next to range code tag made by squire