Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 2.19 KB

File metadata and controls

59 lines (36 loc) · 2.19 KB

Link plugin

The link plugin allows a user to link external resources such as website URLs, to selected text in their document.

It adds two toolbar buttons called link and unlink and three menu items called link, unlink and openlink. The toolbar button and menu item called link are included in {productname}'s default configuration. The link menu item can be found in the Insert menu.

The link plugin also includes a context menu and context toolbar. The context toolbar can be configured using the link_context_toolbar and link_quicklink options documented below.

Basic setup

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  plugins: 'link',
  toolbar: 'link'
});

Commands

The Link plugin provides the following {productname} command.