Skip to content

HTML in Component Summary #1418

@nicolas-cusan

Description

@nicolas-cusan

Description

In this block

/**
* This can be overridden on child elements to create a summary for display in GridFields.
* The react Summary component takes `content` (html) and/or `fileUrl` & `fileTitle` (image) props,
* which have to be added to the output in `provideBlockSchema()`.
*
* @return string
*/
public function getSummary()
{
return '';
}
there is a mention that content can be HTML but it does not work. Is there a way to acheive this?

Additional context or points of discussion

No response

Validations

  • You intend to implement the feature yourself
  • You have read the contributing guide
  • You strongly believe this feature should be in core, rather than being its own community module
  • You have checked for existing issues or pull requests related to this feature (and didn't find any)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions