Here is my problem. I have a field which was a rich text field with no restrictions on it (the author could add a paragraph, a title from h1 to h6, a list, ...)
Now we need to accept only h1 and bold or italic for that field so I restricted the field to these tags in the custom type. So now whenever I check my documents, it shows in the editor that my field is a heading 1 so it is exactly what I need.
However, I still receive this field as a paragraph from the api results. It seems like the result was cached and changing the restrictions doesn't update the api results.
What I need to do to make the changes appear on my website / api results, is changing something on the field, publishing it and then remove those changes and re-publish. But I don't really want to do this to all my documents.
Is there something else I can do?