code: function (dom, selection, node, moveCaret) {
        if (!node) {
          node = getParentCaretContainer(selection.getStart());
  
          if (!node) {
            while ((node = dom.get(CARET_ID))) {
              removeCaretContainerNode(dom, selection, node, false);
            }
          }
        } else {
          removeCaretContainerNode(dom, selection, node, moveCaret);
        }
      }
docs: Removes the caret container for the specified node or all on the current document