Nico Hoffmann ෴.
Nico Hoffmann ෴.
Personally, I like yaml for short definitions (a key followed by a few words value). I wouldn't like it for longer text content, the indentation there just gets messy and...
It's tricky as there is (as far as I know) no widespread support for manipulating the clipboard via JS.
@nilshoerrmann funny, if you click on and go to https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText (which I checked first), it days not supported by Safari
Safari just received it, but we will have to wait until we raise Kirby's browser requirements.
We have this in the text field, should not be too hard to add it for the tags field as well (if it's of general interest): https://github.com/getkirby/kirby/blob/21ebebda6bdde9aee62140f81f658f0852ea4e60/config/fields/text.php#L81-L94
@bnomei are you sure? Having troubles in 3.9.1 as well
I can reproduce the issue in 3.9.5 as well. I know at what step in the code it's happening. I have no clue why 😭
@afbora see the PR, I found what made it stopped working
It was introduced 3 years ago. I would think it's only working in 3.4 and earlier
I had another look at this, but with using the core `Data` classes, I have no influence on the formatting that the file is written. However, you could save it...