Home / GitHub Page

Typo in NoteText2?

I seem to have found a typo in the code for the WYSIWYG editor component (NoteText2.ts). Can someone confirm it? The relevant code is here (line 1517 in the code), where I thing element.nodName should be element.nodeName

    function findContainerListTypeFromElement(element) {
      while (element) {
        if (element.nodeName === 'UL' || element.nodName === 'OL') {
          return isCheckboxListItem(element) ? 'joplinChecklist' : 'regular';
        element = element.parentNode;
      return 'regular';