1. 02 Feb, 2020 2 commits
  2. 24 Jan, 2020 2 commits
    • Janis Kelemen's avatar
      Fix error on hide event · 6b2448bf
      Janis Kelemen authored
      Sometimes the hide event throws an error since the element of the option does not have a parent node. I added a check if the parent node is not null to the hide event. 
      
      tiptap.esm.js?cd42:1849 Uncaught TypeError: Cannot read property 'contains' of null
          at Menu.hide (tiptap.esm.js?cd42:1849)
          at Editor.eval (tiptap.esm.js?cd42:1778)
          at eval (tiptap.esm.js?cd42:461)
          at Array.forEach (<anonymous>)
          at Editor.emit (tiptap.esm.js?cd42:460)
          at Plugin.blur (tiptap.esm.js?cd42:1184)
          at eval (index.es.js?576a:3113)
          at EditorView.someProp (index.es.js?576a:4567)
          at runCustomHandler (index.es.js?576a:3111)
          at HTMLDivElement.view.dom.addEventListener.view.eventHandlers.<computed> (index.es.js?576a:3076)
      6b2448bf
    • Janis Kelemen's avatar
      Fix error in hide event · 8d816bd3
      Janis Kelemen authored
      Sometimes the hide event throws an error since the element of the option does not have a parent node. I added a check if the parent node is not null to the hide event. 
      
      ```javascript
      tiptap.esm.js?cd42:1849 Uncaught TypeError: Cannot read property 'contains' of null
          at Menu.hide (tiptap.esm.js?cd42:1849)
          at Editor.eval (tiptap.esm.js?cd42:1778)
          at eval (tiptap.esm.js?cd42:461)
          at Array.forEach (<anonymous>)
          at Editor.emit (tiptap.esm.js?cd42:460)
          at Plugin.blur (tiptap.esm.js?cd42:1184)
          at eval (index.es.js?576a:3113)
          at EditorView.someProp (index.es.js?576a:4567)
          at runCustomHandler (index.es.js?576a:3111)
          at HTMLDivElement.view.dom.addEventListener.view.eventHandlers.<computed> (index.es.js?576a:3076)
      ```
      8d816bd3
  3. 17 Jan, 2020 1 commit
  4. 19 Dec, 2019 1 commit
  5. 16 Dec, 2019 2 commits
  6. 02 Dec, 2019 9 commits
  7. 28 Nov, 2019 1 commit
  8. 21 Nov, 2019 1 commit
  9. 01 Nov, 2019 2 commits
  10. 24 Oct, 2019 1 commit
  11. 23 Oct, 2019 1 commit
  12. 20 Oct, 2019 3 commits
  13. 17 Oct, 2019 6 commits
  14. 04 Oct, 2019 8 commits