Tim Landwerth

Results 15 comments of Tim Landwerth
trafficstars

I would also be very interested in this - we have the (I think quite common) convention of only using actions and getters to access the state. Unfortunately, `sync` directly...

The `file_field :attachments, multiple: true` works so far. However, when editing an entity that already has attachments, this might destroy all old attachments and replace them with the new ones....

@souljorje I'd suspect that the behaviour origins from this line: https://github.com/gridsome/gridsome/blob/d12b7db82ad5c818b3b1d5b46fdd67ecf48b4797/gridsome/lib/graphql/createFieldDefinitions.js#L34 The field definition just never gets created if the value is always `null`. One problem might be to give...

@souljorje The following hacky changes should make your usecase work: https://github.com/Timmitry/gridsome/pull/1 I defaulted to using a `String` type in GraphQL if all values of the field are null, since you...

@afcapel Thanks for your answer! However, `import config from 'trix/config';` already gives an error `Unable to resolve path to module 'trix/config'.`, from both eslint and vite. I am already using...

@jahudka That seems to be about right 🤷 Customizing the editor was really hard, and next time, I will rather take another rich text editor and configure it to work...

@CendioOssman I do not know how browsers implement `body.contains(descendant)`, but I would guess that they just start at the descendant, and look at the parent. If it is null, the...

@dgibson666 Thanks for your Input! The `inheritAttributes`-method you linked would be the allowlist way, where I still have to specify each attribute that should be inherited. This is a lot...

Sure, why not? Since this will be easy to fix, it shouldn't be a problem to enforce symbols 🙂

Another gotcha: We were using `formats: "html"`, which did not work anymore with Rails 7.0. However, changing it to a symbol `formats: :html` fixed the issue 🙄