stefanprobst
stefanprobst
> the native input fires the change event only on blur, not during typing. We'll want to match up when this event is fired on each of our inputs looking...
i think this is coming from here: https://github.com/Thinkmill/keystatic/blob/a1a71c1ab2313c4c0a85fdce3f9a802a14580ece/packages/keystatic/src/app/auth.ts#L59
ok actually, the "no basepath" assumption is everywhere - made it work by patching all the `/api/keystatic/*` and `/keystatic/*` links and regexes in `@keystatic/core`.
i also think a "single-file" collection type for list data would be great. while "folder" collections are great for stuff like posts, and the "files" collection type for pages, i...
yes exactly -- it's somewhat related to https://github.com/netlify/netlify-cms/issues/531
@erezrokah i've put together a hacky proof of concept how i think this could work. see https://github.com/netlify/netlify-cms/compare/master...stefanprobst:feat/single-file-collection includes a simple demo, run with ```sh yarn yarn build cp -r packages/netlify-cms/dist...
i think the reason is that the [`file`](https://github.com/Thinkmill/keystatic/blob/dea986058f72abffea3caf8ceabbe21584fc4eaf/packages/keystatic/src/form/fields/file/ui.tsx#L27) (and [`image`](https://github.com/Thinkmill/keystatic/blob/dea986058f72abffea3caf8ceabbe21584fc4eaf/packages/keystatic/src/form/fields/image/ui.tsx#L80)) fields check `useIsInDocumentEditor()` which is always false (see [here](https://github.com/Thinkmill/keystatic/blob/dea986058f72abffea3caf8ceabbe21584fc4eaf/packages/keystatic/src/form/fields/document/DocumentEditor/index.tsx#L380))
@emmatown is the `IsInEditorContext` context a leftover from the old `document` field which can be removed or does it have to be added to the new richtext field as well?
related: https://github.com/Thinkmill/keystatic/issues/1033
> You would need to add `@click` to the form instead of `@input` in the example in the issue reproduction, the `@input` handler is also triggered when a user enters...