Thread:VisualEditor/Feedback/extend Visual Editor – migrating custom toolbar function made for WikiEditor/reply (3)

I didn't have the time to look into this so far, but this may be useful: 75271.