quasar
quasar copied to clipboard
q-editor viewsource error when inside of q-popup-edit
What happened?
When using q-editor inside of q-popup-edit and allowing toggle of viewsource
toolbar, it unable to find the toolbar to hide so it error out. To demonstrate, I took a copy of the QDataTable with QPopupEdit and add the viewsource
toolbar to this jsfiddle to demonstrate: https://jsfiddle.net/fqrek9ds/
What did you expect to happen?
It doesn't error out. Correctly hide the toolbar as expected behavior.
Reproduction URL
https://jsfiddle.net/fqrek9ds/
How to reproduce?
- go to provided reproduction link.
- Click on the comment (editable) item.
- Click <> to toggle viewsource.
- See error on console
e
is undefined when it try to find e.cmd == 'viewsource'
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Firefox
Quasar info output
Directly on the web: https://cdn.jsdelivr.net/npm/quasar@2/dist/quasar.umd.prod.js
Relevant log output
TypeError: e is undefined
Specifically: return!e.isViewingSource.value||t.find(e=>"viewsource"===e.cmd)}
Additional context
No response