block construction with key value
Hello, I have the following question about building blocks for the Universal Editor. I want to create a block that has the following template.
Currently, when you render the component once it's complete, it looks like this
<div>
<div>#FFFFFF</div>
</div>
That is, just the value, I would like it to arrive as a key value
<div>
<div>color</div>
<div>#FFFFFF</div>
</div>
I'm asking because, when using it, for example, from Google Docs, I believe the key and value can be obtained. I'm currently using the resource type: core/franklin/components/block/v1/block.
Thank you very much if anyone can help me with this question. Best regards.



