coko
April 8, 2021, 8:47am
1
Situation: Editing a writer field in the panel drawer which contains text (image caption field).
Action: When I place the cursor in front of the first character (or any position) and start typing the cursor jumps to the end of the text.
Kirby: 3.5.3.1
Blueprint:
name: field.blocks.image.name
icon: image
preview: image
fields:
image:
label: field.blocks.image.name
type: files
multiple: false
width: 1/2
layout: cards
size: small
image:
back: black
uploads:
template: image
caption:
label: Caption
type: writer
icon: text
width: 1/2
… etc
It seems that setting inline: true instead of the default false prevents this behaviour.
Also, without inline: true any text after a hard return isn’t displayed at the front-end.
I can reproduce this issue and seems to be a bug.
coko
August 24, 2021, 10:03am
4
Dunno, but reporting of errors is preferred on Github instead of this forum …
1 Like
I was just going to write a question for this. In 3.9.2 it is still an annoying problem.
I will look at github to see if it’s there.
René
coko
June 22, 2023, 12:16pm
6
This very annoying bug is still in 3.9.4 …
It’s still present in 5.12.
inline: false (default) let’s you not edit the content IN FIREFOX .
Chrome works.
Edit:
Created a bugreport Firefox: writer field with inline: false not editable · Issue #7654 · getkirby/kirby · GitHub
I cannot reproduce this behavior in Firefox (144.0.2 (aarch64)), but I’m on MacOS.
That narrows it down to Windows/Firefox probably.
I updated the Github-Issue.
Thanks for the info.
This has been resolved for me.
I have a panel custom css-file with:
* {
user-select: none;
}
Strangely the rule is applied to the writer-field in Firefox, but not in Chrome.
So, if you guys above me have custom panel css as well, please check it