Skip to content

The plugin crashes when adding new item/row in table #523

@Ace-Kyle

Description

@Ace-Kyle

I use table feature of make.md and it crashes (make.md plugin) when add new item/row into table

Reproduce:

  • open a table
  • add new item (row)
    Expected:
  • New item (row) will be added

Reality:

  • All component in the current note is blank

What I checked:

  • After above issue happend, I open Obsidian devtool (by Ctrl + i)
  • I saw that the make.md plugin was crashed in console log

The console log:

3plugin:make-md:29 Uncaught TypeError: Cannot read properties of null (reading 'view')
    at Object.onSubmenu (plugin:make-md:185:192143)
    at onClick (plugin:make-md:175:56362)
    at Object.MJe (plugin:make-md:29:9906)
    at FJe (plugin:make-md:29:10063)
    at jJe (plugin:make-md:29:10123)
    at kme (plugin:make-md:29:31744)
    at Jhe (plugin:make-md:29:32164)
    at eval (plugin:make-md:29:37136)
    at hK (plugin:make-md:32:37340)
    at whe (plugin:make-md:29:9034)

TypeError: Cannot read properties of undefined (reading 'localeCompare')
    at mC (plugin:make-md:182:110423)
    at Object.Xre [as fn] (plugin:make-md:182:110699)
    at w$ (plugin:make-md:182:112814)
    at eval (plugin:make-md:185:59144)
    at Array.reduce (<anonymous>)
    at eval (plugin:make-md:185:59125)
    at Array.sort (<anonymous>)
    at eval (plugin:make-md:185:59099)
    at Object.kge [as useMemo] (plugin:make-md:30:24031)
    at oi.useMemo (plugin:make-md:25:18501)

Uncaught TypeError: Cannot read properties of undefined (reading 'localeCompare')
    at mC (plugin:make-md:182:110423)
    at Object.Xre [as fn] (plugin:make-md:182:110699)
    at w$ (plugin:make-md:182:112814)
    at eval (plugin:make-md:185:59144)
    at Array.reduce (<anonymous>)
    at eval (plugin:make-md:185:59125)
    at Array.sort (<anonymous>)
    at eval (plugin:make-md:185:59099)
    at Object.kge [as useMemo] (plugin:make-md:30:24031)
    at oi.useMemo (plugin:make-md:25:18501)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions