kirby-visual-markdown icon indicating copy to clipboard operation
kirby-visual-markdown copied to clipboard

can't setup tools / toolbar visibility

Open damienfaivre opened this issue 7 years ago • 2 comments

Hi,

I wanted to clean some of my visual markdown fields from unnecessary tools, but it looks like I can't as I got an error strtolower() expects parameter 1 to be string, array given.

It occurs with tools list and toolbar option. Here is my blueprint :

intro:
    label: Intro
    type: markdown
        toolbar: hide
    width: 1/2
    required: required

Am I doing something wrong ? Is it a known error ? I'm on kirby 2.5.5, didn't try on an older version yet.

Thanks in advance guys !

damienfaivre avatar Sep 05 '17 09:09 damienfaivre

Looks like you formatted the line "toolbar" wrong, try this one:

intro:
  label: Intro
  type: markdown
  toolbar: hide
  width: 1/2
  required: required

MathiasGmeiner avatar Sep 18 '17 13:09 MathiasGmeiner

Hi, its because your example on your readme have a indent. I had also the problem.

Cheers

janstieler avatar Aug 29 '18 08:08 janstieler