I’m using the markdown field plugin and have added a pagelink button. For some reason it doesn’t work, it just returns the error “t.models is undefined” when I click this button. This is what the console brings up:
TypeError: "t.models is undefined"
Pe http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/app.js:1
_render http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
r http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
get http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
run http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
Zn http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
ye http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
le http://example.com/media/panel/593ed86d9e989b97a31fa84858ccd5a0/js/vendor.js:41
app.js:1:164582
and
TypeError: n.$refs.dialog is undefined app.js:1:19320
I seem to remember that it used to work before. Anybody got any idea what the issue could be?
Sorry for being unclear. The markdown field has a link button for inserting custom URLs but there is also a “pagelink” button that is supposed to show a list of all existing pages of the site, and that one is broken. My blueprint for this field looks like this:
intro:
type: markdown
label: Intro
required: true
size: small
font:
family: sans-serif
buttons:
- bold
- italic
- divider
- link
- pagelink
- divider
- ul
- ol
- blockquote
The Kirby version is 3.3.0 (just noticed that there is an update, so I’m going to do that now) and other installed plugins are builder, cachebuster, color palette, feeds and xmlsitemap
I just checked and the pagelink works in a 3.3.3 Starterkit. Let us know if an update fixes it for you, otherwise, please check without the plugins to see if anything interferes.