For most editors it is enough to use the main function of Linodef editorbuttons API.

Name

linodef_editorbuttons_switch

Parameter

string $drupal_element_type
The value should be an supported element type. More information.
$no_link
Optional: If true a "no link" marker is added to the tag so the embedded node title or field value are not linked.

Return