Closed jcamejo closed 1 year ago
Hi Juan, thanks for the report, yeah actually createInput
requires you to return an HTML string or HTMLElement. I think it's good to have errors in cases like that but I guess the error wasn't clear enough.
Honestly, I don't know what is the best "fix" here, because checking statically in the code all the API is not a scalable solution
Hello @artf! Hope you are well. I am having an issue using grapesjs plugin publish s3.. How can i use that plugin and publish my data??
Hi @artf!
Working on the editor on one of my custom traits i had an issue where for some reason that is not important, the createInput was returning undefined.
I've noticed that the TraitView renderField method does not handle falsey values
It when directly to try to append an undefined object, raising an error.
Should i add a validation here checking that the object is present or should i do it somewhere else? Should it be the responsibility of createInput to always return a defined object?
Thanks!