Closed madc closed 2 years ago
Yes, indeed there is an issue. But thinking a bit, it's bit confusion if this is kept as an inline tool.
@madc I already did replace with https://github.com/kaaaaaaaaaaai/paragraph-with-alignment as it seems more logical alternative, what do you think?
Wow, that was quick.. thanks! I'll test it as soon as the new version is published.
The paragraph alignment tool module looks great. There is also one called editorjs-alignment-blocktune
by the same author, ut i could not spot the difference between the too.
First is for the paragraphs only, second for other. Anyway, I had added it for headers and quotes as well.
It should be available already in v1.2.0
I just updated and it works perfectly. Thank you for responding so quickly and putting in the work!
{
"id": "DS9xhnKSHr",
"type": "paragraph",
"data": {
"text": "This should be centered."
},
"tunes": {
"alignmentTune": {
"alignment": "center"
}
}
},
When aligning a text with the inline tool (i.e.
center
), it seems the information is not persisted.After saving the record, it forgot about the alignment again,
The API returns this:
I'm using directus-extension-editorjs-interface v 1.1.0. Let me know, if I can provide any more information to debug this.