In a writer field, when creating a link to a internal page, as href value in the template is it possible to display the regular page link instead of the permalink ?
I’m trying Kirby 4 and it’s great. The new link dialog makes it possible to link any word(s) to a page, but the href attribute contains a permalink, wich is problematic in my case.
Otherwise, in the context of a blocks field, I don’t see any other option than to use the markdown field, wich is way less convenient for the user. But maybe you see one ?
For me linking from internal pages does not work.
After assignment source code looks like this: <a>notes</a>
The href attribute is missing.
If I call the page in the panel again, the link is not recognized at all.
Is this a (known) bug?
I use the starterkit with 4.0.0-beta.1
A hook that replaces the link and actually stores the result in the content wouldn’t be useful (because of what I wrote above), what you can do is replace those links when rendering, via a custom field method.
No it’s not published.
Which functions are you talking about ? formatSize() was specific to my project but if you think it could be usefulf to you of course I can share it.