Modal Support for Custom Marks in Structured Text Fields

I’m working with DatoCMS’s Structured Text editor and noticed something that would really improve the developer experience. Right now, the ‘Add Link’ feature has this great modal interface that pops up when adding links, but when we try to create custom marks using customMarksForStructuredTextField, we can’t tap into that same modal functionality. It would be incredibly helpful if DatoCMS could extend the native modal support to custom marks, making it as straightforward as the link feature.

This would make it so much easier to make a customMarksForStructuredTextField for the lang attribute. (For accessibility purpose).

2 Likes