Bug report
When I open the settings for a plugin it get the following error, this error shows when opening settings for some plugins but not all of them.
TypeError: Cannot read property 'toLowerCase' of undefined
at t.findMode (file:///C:/Users/user/AppData/Local/inkdrop/app-5.2.1/resources/app.asar/browser-commons.js:1:227018)
at file:///C:/Users/user/AppData/Local/inkdrop/app-5.2.1/resources/app.asar/browser-commons.js:1:223366
at oh (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:153:152)
at di (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:175:315)
at ci (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:175:145)
at ai (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:174:184)
at Rj (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:268:244)
at Qj (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:246:271)
at Kj (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:246:200)
at yj (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:239:178)
at C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:123:121
at exports.unstable_runWithPriority (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\scheduler\cjs\scheduler.production.min.js:19:473)
at cg (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:122:331)
at fg (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:123:67)
at gg (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:122:502)
at Ga (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:287:101)
at gd (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\react-dom\cjs\react-dom.production.min.js:68:377)
at HTMLDocument.__trace__ (C:\Users\user\AppData\Local\inkdrop\app-5.2.1\resources\app.asar\app\static\node_modules\@bugsnag\browser\dist\bugsnag.js:2231:34)
The plugins are all up to date and I have tried re-installing them to make sure there wasn’t an install error.
Info
- Platform: Windows
- Platform version: 19042.804
- App Version: 5.2.1
Reproduce
- Have the following plugins installed and activated
- https://my.inkdrop.app/plugins/math
- https://my.inkdrop.app/plugins/spell-checker
- https://my.inkdrop.app/plugins/toc
- https://my.inkdrop.app/plugins/mermaid
- https://my.inkdrop.app/plugins/admonition
- https://my.inkdrop.app/plugins/emojisense
- https://my.inkdrop.app/plugins/table-editor
- https://my.inkdrop.app/plugins/sidetoc
- https://my.inkdrop.app/plugins/copy-code-to-clipboard
- https://my.inkdrop.app/plugins/hide-menu-bar
- https://my.inkdrop.app/plugins/code-title
- https://my.inkdrop.app/plugins/code-fold
- https://my.inkdrop.app/plugins/simple-note-list
- https://my.inkdrop.app/plugins/footnotes
- https://my.inkdrop.app/plugins/prettier
- https://my.inkdrop.app/plugins/inkdrop-note-templates
- https://my.inkdrop.app/plugins/chartjs
- https://my.inkdrop.app/plugins/markmap
- https://my.inkdrop.app/plugins/mark-text
- https://my.inkdrop.app/plugins/preview-finder
- https://my.inkdrop.app/plugins/dblclick-expansion-image
- https://my.inkdrop.app/plugins/center-on-top
- https://my.inkdrop.app/plugins/easy-linefeed
- https://my.inkdrop.app/plugins/runjs
- https://my.inkdrop.app/plugins/dont-need-status
- https://my.inkdrop.app/plugins/ol
- https://my.inkdrop.app/plugins/dont-need-tags
- https://my.inkdrop.app/plugins/wavedrom
- Disable all default plugins except for
export-print
- Open the settings for plugin
preview-finder
orinkdrop-note-templates