Converting a road bike with drop-bars requires a bit of tinkering and thinkering to get it to work. You generally wouldn’t want to put the motor on the front forks as they are too thin, sometimes carbon as well. The rear dropout is generally around 130mm so requires a bit of stretching to get the 135 and sometimes 140mm motor axle in. That leaves a mid-drive electric conversion kit as probably the best option.
Second problem is the width of the handlebars. Standard on nearly all bikes with flat bars is 22.2mm in diameter, whilst on drop-bars it is 23.6mm. This creates a problem for putting on a throttle. Can’t be done without some very retro placing. So then you have to have a pedal assist system and forget about the throttle. Not a great problem and one you soon get used to. There is a little bit of playing around to get the toggle switch sorted but not too difficult.
Here we put on a mid-drive kit (crank driven kit) with an lithium ion tube battery within the frame on this lovely old Kona Honky Tonk touring bike. Worked a treat!