Skip to content

[Question] Is it possible to define how a blot is serialized ?  #117

@farhat-h

Description

@farhat-h

Context:
I'm trying to define a custom inline embed blot to display something similar to repo shields. The way, I'm currently implementing it as an IMG tag and setting an alt attribute that has a description of the image. Is it possible to make the blot be serialized to the value of the alt attribute when calling quill.getText()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions