Skip to content

Conversation

@johguentner
Copy link
Member

polish method name in Block + add Embed-Block

  • rename "fillContent" of Block to "fillRawContent", since it is filling the rawContent (no direct breaking change)
  • added EmbedBlock (retreive url + caption)
  • add embed-creation and add tests for embed-block
  • fill content of embed-block within create: this ensures the currect values within the class attributes

add new blocks (file, image, video, pdf) + polish

  • set up BaseFileBlock::class for file-related blocks (file, image, file, pdf)
  • implement Modifiable within embed and BaseFileBlock
  • mark caption as optional paramter in embed and BaseFileBlock with empty string as default
  • set up tests for all new blocks (creation and retreival)

- rename "fillContent" of Block to "fillRawContent", since it is filling the rawContent (no direct breaking change)
- added EmbedBlock (retreive url + caption)
- this ensures the currect values within the class attributes
- set up BaseFileBlock::class for file-related blocks (file, image, file, pdf)
- implement Modifiable within embed and BaseFileBlock
- mark caption as optional paramter in embed and BaseFileBlock with empty string as default
- set up tests for all new blocks (creation and retreival)
@johguentner johguentner merged commit 23fe48d into feature/block-creation Sep 11, 2021
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

Successfully merging this pull request may close these issues.

2 participants