From 1b3580520a02f3d8c7f3697a3c0ca5e562a51439 Mon Sep 17 00:00:00 2001 From: Steve Rackham Date: Thu, 15 Mar 2018 15:41:43 +0000 Subject: [PATCH] Update docs to cover urlProtocol and minimalLinks options --- docs/documentation/index.html | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/docs/documentation/index.html b/docs/documentation/index.html index 2f70bc000..7adc7657e 100644 --- a/docs/documentation/index.html +++ b/docs/documentation/index.html @@ -70,6 +70,8 @@

  • Auto grow
  • Auto grow on enter
  • Image width modal edit
  • +
  • URL protocol
  • +
  • Minimal links
  • @@ -636,6 +638,59 @@

    Image width modal edit

    Image width modal edit is not active by default (set to false).

    + + +
    +

    URL protocol

    +

    Added in 2.9.4

    +

    + An option to auto-prefix URLs with a protocol. +

    +

    + When this option + is set to true, URLs missing a protocol will be + prefixed with https://. Alternatively, a string can + be provided for a custom prefix. +

    +

    + For example, a value of true would convert + example.com to + https://example.com, while a value of + ftp converts to + ftp://example.com. +

    +
    
    +$('.trumbowyg').trumbowyg({
    +    urlProtocol: true
    +});
    +            
    +

    + Anchors, email addresses and relative links are left unchanged. +

    +

    + URL protocol is not active by default (set to false). +

    +
    + + +
    + +

    Added in 2.9.4

    +

    + Reduce the link overlay to use only url and + text fields, omitting title and + target. +

    +
    
    +$('.trumbowyg').trumbowyg({
    +    minimalLinks: true
    +});
    +            
    +

    + The minimal links option is not active by default (set to + false). +

    +