Lucide Icons do not play nice with context-menu-plugin

Though it seems to not play nice with the context menu plugin. A long press on mobile used to bring up the context menu. Now I get a RSOE with the message:

Uncaught
TypeError:
Cannot read
properties of
undefined
(reading
replace’)

Thanks for the feedback. I can confirm this problem.

There are 2 things.

  • The icons contain an erroneous trailing comma , in the parameters and
  • The plugin assumes all parameters are valid. Which in this case they are not.

I’ll publish new icons soon.


Edit: New libraries pushed v5.3.6-beta-024: Lucide Icons — Lucide v0.511.0

Your browser may need a SHIFT page reload to GH-pages are really updated.

image

1 Like

@Ste_W … Should be fixed now.

I’ll also create an issue at the context-menu-plugin, so the code there can be hardened too.


Issue at GH: [Issue] context-parser throws an error if "key : value" values are invalid · Issue #6 · ahanniga/tiddlywiki-context-menu-plugin · GitHub

1 Like

That works. Thank you.