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

Add a form schema endpoint for elemental to return blocks #326

Closed
3 tasks done
ScopeyNZ opened this issue Aug 15, 2018 · 4 comments
Closed
3 tasks done

Add a form schema endpoint for elemental to return blocks #326

ScopeyNZ opened this issue Aug 15, 2018 · 4 comments

Comments

@ScopeyNZ
Copy link
Contributor

ScopeyNZ commented Aug 15, 2018

Blocks (that extend BaseElement) will need a form schema endpoint to drive the react FormBuilderLoader. This will be similar to asset-admin and versioned-admin. Create a controller and implement the schema action.

A/Cs:

  • Implement a controller and schema action for individual elemental blocks
  • Correct FormSchema is returned for a block by ID
  • The latest draft version of a given block is used

Split from #295

@robbieaverill
Copy link
Contributor

Are you referring to "elemental" rather than the SilverStripe blocks module "elemental-blocks" here?

@ScopeyNZ
Copy link
Contributor Author

Yes - I meant all blocks that extend BaseElement - which is a part of silverstripe-elemental

@robbieaverill robbieaverill changed the title Add a form schema endpoint for elemental blocks Add a form schema endpoint for elemental to return blocks Aug 19, 2018
@robbieaverill
Copy link
Contributor

I clarified the title slightly

@NightJar
Copy link
Contributor

Resolved by #355

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

No branches or pull requests

4 participants