当前位置: 首页 > 文档资料 > tinyMCE 帮助文档 >

Autolink plugin

优质
小牛编辑
127浏览
2023-12-01

The Autolink plugin automatically creates hyperlinks when a user inputs a valid, complete URL. For example www.example.com is converted to http://www.example.com.

Note that this option won’t convert incomplete URLs. For example example.com would remain as unlinked text and URLs must include www to be automatically converted.

Type: String

Autolink plugin example
tinymce.init({
  selector: "textarea",  // change this value according to your HTML
  plugins: "autolink"
});