Text block link error

Hi there,

For some reason, in Text block link feature is not working for me.
I am getting this error in the console

TypeError: can't access property 0, this.linkTypes is undefined

This is how my blueprint look like


name: zero.blocks.text
icon: text
wysiwyg: true
preview: text

tabs:
  # content tab
  content:
    label: zero.blocks.text.content
    fields:
      text:
        type: writer
        marks:
          - bold
          - italic
          - underline
          - strike
          - code
          - link
          - email
          - sub
          - sup
          - clear
        nodes:
          - heading
          - paragraph
          - bulletList
          - orderedList
          - horizontalRule
          - quote
        placeholder: field.blocks.text.placeholder

Has more options, but it is not related to Writer field.

Am I missing something?

Are you using the ZERO ONE Template? You have specified “Kirby 4”. As far as I know, the template has not yet been adapted for v4. Error messages are therefore to be expected.

@GB_DESIGN
@mrfreedom is the developer of the theme…

1 Like

Does your block use the standard text preview, or have you overwritten it?

When I just copy the block yml file into /site/blueprints/blocks as text.yml (or even renamed to something else), all is fine in my Starterkit

:see_no_evil: The “Fettnäpchen” for Sunday :sweat_smile:

NVM, you are trying to help, even on a Sunday!

Enjoy the weekend!

At least I correctly recognized that he uses the ZERO template :sunglasses:
I have already worked with Kirby for 6 hours today. Now it’s really time for me: “Enjoy the weekend!”

1 Like

Hm, I will need to take more tests.

No, it is a standard Text block preview. But maybe something is causing a conflict.

Zero One Kirby 4 is 99,99% finished (not yet released).
Now we are in the process of refreshing demos and documentation, and testing all small things. As always we couldn’t do “just an update”, some big improvements and an abundance of smaller ones are in this update too.

1 Like

:tada: I am looking forward to the new version and hope that you have taken enough time to optimize and test everything. With such a large project, a version jump is not easy to manage. The new features of Kirby 4 are fun and offer useful additions and simplifications.

1 Like

Thank you, @GB_DESIGN :pray: Yes, it is pretty tricky I must admit, especially when private life situations interfere and mess up my work schedule.

Uh, found the issue, by narrowing things one by one.
And I see it is already reported.