I would like to add something (a bit of text and some clickable characters) underneath every Markdown editor field in Admin. I see basically three ways I might achieve this:
- Create a new field type and add it manually via page blueprints. I don’t like this option much because I’m doing this in a plugin, and people might have their own page templates and blueprints which they’d have to modify by themselves.
- Change the editor field by copying the original and adding my bit in. This seems fairly simple but a little hacky to me – what if the editor field changes at some point and I don’t notice? Can I somehow just extend that original field?
- Use PHP to hook into the Admin pages at some point, check if there’s an editor field, and add my bit via plugin code. That might be a good way, but I’m not too sure which hook to use, or how to check if there’s an editor field…
Any ideas and pointers would be much appreciated!