1.1.8 • Published 4 months ago

quill2-smart-links v1.1.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Quill 2 Smart Links

Autodetects links with format "http(s)://..." that were entered or pasted into Quill 2.0 and converts them into <a> elements.

Installation

npm i quill2-smart-links@"^1.1.8"

Example

  import { SmartLinks } from 'quill2-smart-links';

  Quill.register("modules/smartLinks", SmartLinks)

  const quill = new Quill('#editor', {
    theme: 'snow',
    modules: {
      smartLinks: {
        // custom link regex
        linkRegex: /(https?:\/\/[^\s]+)|(notes:\/\/[^\s]+)/
      }

      // or simply smartLinks: true,
    },
  });
1.1.8

4 months ago

1.1.7

4 months ago

1.1.6

5 months ago

1.1.5

6 months ago

1.1.4

7 months ago

1.1.3

9 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.5

10 months ago

1.1.2

10 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago