Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Own Component has no Text #68

Closed
FabianHaupt opened this issue Apr 29, 2019 · 3 comments
Closed

Own Component has no Text #68

FabianHaupt opened this issue Apr 29, 2019 · 3 comments

Comments

@FabianHaupt
Copy link

I followed the quickstart guide and created my own site and own component. I can drag the component onto the page but it its just an empty div with no text.

@reusr1
Copy link
Contributor

reusr1 commented Apr 29, 2019

@FabianHaupt do you have maybe some more information about this? I just ran through the steps and they seem to work just fine for me. Would love to maybe see your project

@reusr1
Copy link
Contributor

reusr1 commented Apr 29, 2019

sorry, after further review there is an error in the docs:

  convert: function($, f) {
    f.bindPath($)
    f.mapField($, 'text')	
  }
}```

should be 

```module.exports = {
  convert: function($, f) {
    f.bindPath($)
    f.mapField($, 'model.text')	
  }
}```

@FabianHaupt
Copy link
Author

It works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants